org.apache.hadoop.security.token.Token.getRenewer()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(3.8k)|赞(0)|评价(0)|浏览(142)

本文整理了Java中org.apache.hadoop.security.token.Token.getRenewer()方法的一些代码示例,展示了Token.getRenewer()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Token.getRenewer()方法的具体详情如下:
包路径:org.apache.hadoop.security.token.Token
类名称:Token
方法名:getRenewer

Token.getRenewer介绍

暂无

代码示例

代码示例来源:origin: org.apache.hadoop/hadoop-common

/**
 * Is this token managed so that it can be renewed or cancelled?
 * @return true, if it can be renewed and cancelled.
 */
public boolean isManaged() throws IOException {
 return getRenewer().isManaged(this);
}

代码示例来源:origin: org.apache.hadoop/hadoop-common

/**
 * Cancel this delegation token.
 * @throws IOException
 * @throws InterruptedException
 */
public void cancel(Configuration conf
          ) throws IOException, InterruptedException {
 getRenewer().cancel(this, conf);
}

代码示例来源:origin: org.apache.hadoop/hadoop-common

/**
 * Renew this delegation token.
 * @return the new expiration time
 * @throws IOException
 * @throws InterruptedException
 */
public long renew(Configuration conf
         ) throws IOException, InterruptedException {
 return getRenewer().renew(this, conf);
}

代码示例来源:origin: io.prestosql.hadoop/hadoop-apache

/**
 * Renew this delegation token
 * @return the new expiration time
 * @throws IOException
 * @throws InterruptedException
 */
public long renew(Configuration conf
         ) throws IOException, InterruptedException {
 return getRenewer().renew(this, conf);
}

代码示例来源:origin: io.hops/hadoop-common

/**
 * Is this token managed so that it can be renewed or cancelled?
 * @return true, if it can be renewed and cancelled.
 */
public boolean isManaged() throws IOException {
 return getRenewer().isManaged(this);
}

代码示例来源:origin: io.hops/hadoop-common

/**
 * Cancel this delegation token
 * @throws IOException
 * @throws InterruptedException
 */
public void cancel(Configuration conf
          ) throws IOException, InterruptedException {
 getRenewer().cancel(this, conf);
}

代码示例来源:origin: com.github.jiayuhan-it/hadoop-common

/**
 * Cancel this delegation token
 * @throws IOException
 * @throws InterruptedException
 */
public void cancel(Configuration conf
          ) throws IOException, InterruptedException {
 getRenewer().cancel(this, conf);
}

代码示例来源:origin: io.hops/hadoop-common

/**
 * Renew this delegation token
 * @return the new expiration time
 * @throws IOException
 * @throws InterruptedException
 */
public long renew(Configuration conf
         ) throws IOException, InterruptedException {
 return getRenewer().renew(this, conf);
}

代码示例来源:origin: ch.cern.hadoop/hadoop-common

/**
 * Is this token managed so that it can be renewed or cancelled?
 * @return true, if it can be renewed and cancelled.
 */
public boolean isManaged() throws IOException {
 return getRenewer().isManaged(this);
}

代码示例来源:origin: com.github.jiayuhan-it/hadoop-common

/**
 * Is this token managed so that it can be renewed or cancelled?
 * @return true, if it can be renewed and cancelled.
 */
public boolean isManaged() throws IOException {
 return getRenewer().isManaged(this);
}

代码示例来源:origin: ch.cern.hadoop/hadoop-common

/**
 * Renew this delegation token
 * @return the new expiration time
 * @throws IOException
 * @throws InterruptedException
 */
public long renew(Configuration conf
         ) throws IOException, InterruptedException {
 return getRenewer().renew(this, conf);
}

代码示例来源:origin: ch.cern.hadoop/hadoop-common

/**
 * Cancel this delegation token
 * @throws IOException
 * @throws InterruptedException
 */
public void cancel(Configuration conf
          ) throws IOException, InterruptedException {
 getRenewer().cancel(this, conf);
}

代码示例来源:origin: com.github.jiayuhan-it/hadoop-common

/**
 * Renew this delegation token
 * @return the new expiration time
 * @throws IOException
 * @throws InterruptedException
 */
public long renew(Configuration conf
         ) throws IOException, InterruptedException {
 return getRenewer().renew(this, conf);
}

代码示例来源:origin: io.prestosql.hadoop/hadoop-apache

/**
 * Is this token managed so that it can be renewed or cancelled?
 * @return true, if it can be renewed and cancelled.
 */
public boolean isManaged() throws IOException {
 return getRenewer().isManaged(this);
}

代码示例来源:origin: io.prestosql.hadoop/hadoop-apache

/**
 * Cancel this delegation token
 * @throws IOException
 * @throws InterruptedException
 */
public void cancel(Configuration conf
          ) throws IOException, InterruptedException {
 getRenewer().cancel(this, conf);
}

相关文章