@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class TokenRenewer extends Object
| コンストラクタと説明 | 
|---|
| TokenRenewer() | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| abstract void | cancel(Token<?> token,
      Configuration conf)Cancel the given token | 
| abstract boolean | handleKind(Text kind)Does this renewer handle this kind of token? | 
| abstract boolean | isManaged(Token<?> token)Is the given token managed? | 
| abstract long | renew(Token<?> token,
     Configuration conf)Renew the given token. | 
public TokenRenewer()
public abstract boolean handleKind(Text kind)
kind - the kind of the tokenpublic abstract boolean isManaged(Token<?> token) throws IOException
token - the token being checkedIOExceptionpublic abstract long renew(Token<?> token, Configuration conf) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic abstract void cancel(Token<?> token, Configuration conf) throws IOException, InterruptedException
Copyright © 2016 Apache Software Foundation. All rights reserved.