org.apache.hadoop.yarn.server.resourcemanager.security
Class DelegationTokenRenewer.DelegationTokenToRenew

java.lang.Object
  extended by org.apache.hadoop.yarn.server.resourcemanager.security.DelegationTokenRenewer.DelegationTokenToRenew
Enclosing class:
DelegationTokenRenewer

protected static class DelegationTokenRenewer.DelegationTokenToRenew
extends Object

class that is used for keeping tracks of DT to renew


Field Summary
 org.apache.hadoop.yarn.api.records.ApplicationId applicationId
           
 org.apache.hadoop.conf.Configuration conf
           
 long expirationDate
           
 boolean shouldCancelAtEnd
           
 TimerTask timerTask
           
 org.apache.hadoop.security.token.Token<?> token
           
 
Constructor Summary
DelegationTokenRenewer.DelegationTokenToRenew(org.apache.hadoop.yarn.api.records.ApplicationId jId, org.apache.hadoop.security.token.Token<?> token, org.apache.hadoop.conf.Configuration conf, long expirationDate, boolean shouldCancelAtEnd)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 void setTimerTask(TimerTask tTask)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

token

public final org.apache.hadoop.security.token.Token<?> token

applicationId

public final org.apache.hadoop.yarn.api.records.ApplicationId applicationId

conf

public final org.apache.hadoop.conf.Configuration conf

expirationDate

public long expirationDate

timerTask

public TimerTask timerTask

shouldCancelAtEnd

public final boolean shouldCancelAtEnd
Constructor Detail

DelegationTokenRenewer.DelegationTokenToRenew

public DelegationTokenRenewer.DelegationTokenToRenew(org.apache.hadoop.yarn.api.records.ApplicationId jId,
                                                     org.apache.hadoop.security.token.Token<?> token,
                                                     org.apache.hadoop.conf.Configuration conf,
                                                     long expirationDate,
                                                     boolean shouldCancelAtEnd)
Method Detail

setTimerTask

public void setTimerTask(TimerTask tTask)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2014 Apache Software Foundation. All Rights Reserved.