public class DelegationRenewer
extends org.apache.hadoop.security.token.TokenRenewer
| Constructor and Description |
|---|
DelegationRenewer() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(org.apache.hadoop.security.token.Token<?> token,
org.apache.hadoop.conf.Configuration configuration) |
boolean |
handleKind(org.apache.hadoop.io.Text text) |
boolean |
isManaged(org.apache.hadoop.security.token.Token<?> token) |
long |
renew(org.apache.hadoop.security.token.Token<?> token,
org.apache.hadoop.conf.Configuration configuration) |
public boolean handleKind(org.apache.hadoop.io.Text text)
handleKind in class org.apache.hadoop.security.token.TokenRenewerpublic boolean isManaged(org.apache.hadoop.security.token.Token<?> token)
throws IOException
isManaged in class org.apache.hadoop.security.token.TokenRenewerIOExceptionpublic long renew(org.apache.hadoop.security.token.Token<?> token,
org.apache.hadoop.conf.Configuration configuration)
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 configuration)
throws IOException,
InterruptedException
cancel in class org.apache.hadoop.security.token.TokenRenewerIOExceptionInterruptedExceptionCopyright © 2022. All rights reserved.