org.apache.hadoop.fs
Class DelegationTokenRenewer.RenewAction<T extends FileSystem & DelegationTokenRenewer.Renewable>

java.lang.Object
  extended by org.apache.hadoop.fs.DelegationTokenRenewer.RenewAction<T>
All Implemented Interfaces:
Comparable<Delayed>, Delayed
Enclosing class:
org.apache.hadoop.fs.DelegationTokenRenewer

public static class DelegationTokenRenewer.RenewAction<T extends FileSystem & DelegationTokenRenewer.Renewable>
extends Object
implements Delayed

An action that will renew and replace the file system's delegation tokens automatically.


Method Summary
 int compareTo(Delayed delayed)
           
 boolean equals(Object that)
           
 long getDelay(TimeUnit unit)
          Get the delay until this event should happen.
 int hashCode()
           
 boolean isValid()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

isValid

public boolean isValid()

getDelay

public long getDelay(TimeUnit unit)
Get the delay until this event should happen.

Specified by:
getDelay in interface Delayed

compareTo

public int compareTo(Delayed delayed)
Specified by:
compareTo in interface Comparable<Delayed>

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 Apache Software Foundation. All Rights Reserved.