|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.security.token.TokenRenewer org.apache.hadoop.mapred.JobClient.Renewer
@InterfaceAudience.Private public static class JobClient.Renewer
Constructor Summary | |
---|---|
JobClient.Renewer()
|
Method Summary | |
---|---|
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? Only managed tokens may be renewed or cancelled. |
long |
renew(Token<?> token,
Configuration conf)
Renew the given token. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobClient.Renewer()
Method Detail |
---|
public boolean handleKind(Text kind)
TokenRenewer
handleKind
in class TokenRenewer
kind
- the kind of the token
public long renew(Token<?> token, Configuration conf) throws IOException, InterruptedException
TokenRenewer
renew
in class TokenRenewer
IOException
InterruptedException
public void cancel(Token<?> token, Configuration conf) throws IOException, InterruptedException
TokenRenewer
cancel
in class TokenRenewer
IOException
InterruptedException
public boolean isManaged(Token<?> token) throws IOException
TokenRenewer
isManaged
in class TokenRenewer
token
- the token being checked
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |