@InterfaceAudience.Private
public static class JobClient.Renewer
extends org.apache.hadoop.security.token.TokenRenewer
| Constructor and Description |
|---|
JobClient.Renewer() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(org.apache.hadoop.security.token.Token<?> token,
org.apache.hadoop.conf.Configuration conf) |
boolean |
handleKind(org.apache.hadoop.io.Text kind) |
boolean |
isManaged(org.apache.hadoop.security.token.Token<?> token) |
long |
renew(org.apache.hadoop.security.token.Token<?> token,
org.apache.hadoop.conf.Configuration conf) |
public boolean handleKind(org.apache.hadoop.io.Text kind)
handleKind in class org.apache.hadoop.security.token.TokenRenewerpublic long renew(org.apache.hadoop.security.token.Token<?> token,
org.apache.hadoop.conf.Configuration conf)
throws IOException,
InterruptedException
renew in class org.apache.hadoop.security.token.TokenRenewerIOExceptionInterruptedExceptionpublic void cancel(org.apache.hadoop.security.token.Token<?> token,
org.apache.hadoop.conf.Configuration conf)
throws IOException,
InterruptedException
cancel in class org.apache.hadoop.security.token.TokenRenewerIOExceptionInterruptedExceptionpublic boolean isManaged(org.apache.hadoop.security.token.Token<?> token)
throws IOException
isManaged in class org.apache.hadoop.security.token.TokenRenewerIOExceptionCopyright © 2009 The Apache Software Foundation