public static class EsTokenIdentifier.Renewer extends TokenRenewer
| Constructor and Description |
|---|
Renewer() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(Token<?> token,
Configuration conf) |
protected org.elasticsearch.hadoop.rest.RestClient |
createClient(Settings settings) |
boolean |
handleKind(Text kind) |
boolean |
isManaged(Token<?> token) |
long |
renew(Token<?> token,
Configuration conf) |
public boolean handleKind(Text kind)
handleKind in class TokenRenewerpublic boolean isManaged(Token<?> token) throws IOException
isManaged in class TokenRenewerIOExceptionpublic long renew(Token<?> token, Configuration conf) throws IOException, InterruptedException
renew in class TokenRenewerIOExceptionInterruptedExceptionpublic void cancel(Token<?> token, Configuration conf) throws IOException, InterruptedException
cancel in class TokenRenewerIOExceptionInterruptedExceptionprotected org.elasticsearch.hadoop.rest.RestClient createClient(Settings settings)