Class TimelineDelegationTokenIdentifier.Renewer
java.lang.Object
org.apache.hadoop.security.token.TokenRenewer
org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier.Renewer
- Enclosing class:
- TimelineDelegationTokenIdentifier
@Private
public static class TimelineDelegationTokenIdentifier.Renewer
extends org.apache.hadoop.security.token.TokenRenewer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel(org.apache.hadoop.security.token.Token<?> token, org.apache.hadoop.conf.Configuration conf) booleanhandleKind(org.apache.hadoop.io.Text kind) booleanisManaged(org.apache.hadoop.security.token.Token<?> token) longrenew(org.apache.hadoop.security.token.Token<?> token, org.apache.hadoop.conf.Configuration conf)
-
Constructor Details
-
Renewer
public Renewer()
-
-
Method Details
-
handleKind
public boolean handleKind(org.apache.hadoop.io.Text kind) - Specified by:
handleKindin classorg.apache.hadoop.security.token.TokenRenewer
-
isManaged
- Specified by:
isManagedin classorg.apache.hadoop.security.token.TokenRenewer- Throws:
IOException
-
renew
public long renew(org.apache.hadoop.security.token.Token<?> token, org.apache.hadoop.conf.Configuration conf) throws IOException, InterruptedException - Specified by:
renewin classorg.apache.hadoop.security.token.TokenRenewer- Throws:
IOExceptionInterruptedException
-
cancel
public void cancel(org.apache.hadoop.security.token.Token<?> token, org.apache.hadoop.conf.Configuration conf) throws IOException, InterruptedException - Specified by:
cancelin classorg.apache.hadoop.security.token.TokenRenewer- Throws:
IOExceptionInterruptedException
-