public static class WebHdfsFileSystem.DtRenewer extends TokenRenewer
| 构造器和说明 |
|---|
WebHdfsFileSystem.DtRenewer() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cancel(Token<?> token,
Configuration conf)
Cancel the given token
|
boolean |
handleKind(Text kind)
Does this renewer handle this kind of token?
|
boolean |
isManaged(Token<?> token)
Is the given token managed?
|
long |
renew(Token<?> token,
Configuration conf)
Renew the given token.
|
public boolean handleKind(Text kind)
TokenRenewerhandleKind 在类中 TokenRenewerkind - the kind of the tokenpublic boolean isManaged(Token<?> token) throws IOException
TokenRenewerisManaged 在类中 TokenRenewertoken - the token being checkedIOExceptionpublic long renew(Token<?> token, Configuration conf) throws IOException, InterruptedException
TokenRenewerrenew 在类中 TokenRenewerIOExceptionInterruptedExceptionpublic void cancel(Token<?> token, Configuration conf) throws IOException, InterruptedException
TokenRenewercancel 在类中 TokenRenewerIOExceptionInterruptedExceptionCopyright © 2009 The Apache Software Foundation