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 TokenRenewer
public boolean isManaged(Token<?> token) throws IOException
isManaged
in class TokenRenewer
IOException
public long renew(Token<?> token, Configuration conf) throws IOException, InterruptedException
renew
in class TokenRenewer
IOException
InterruptedException
public void cancel(Token<?> token, Configuration conf) throws IOException, InterruptedException
cancel
in class TokenRenewer
IOException
InterruptedException
protected org.elasticsearch.hadoop.rest.RestClient createClient(Settings settings)