org.smallmind.quorum.transport.message
Class SelfDestructiveKey<K extends Comparable<K>>

java.lang.Object
  extended by org.smallmind.quorum.transport.message.SelfDestructiveKey<K>
All Implemented Interfaces:
Comparable<SelfDestructiveKey<K>>

public class SelfDestructiveKey<K extends Comparable<K>>
extends Object
implements Comparable<SelfDestructiveKey<K>>


Constructor Summary
SelfDestructiveKey(K mapKey, long ignitionTime)
           
SelfDestructiveKey(long ignitionTime)
           
 
Method Summary
 int compareTo(SelfDestructiveKey<K> key)
           
 boolean equals(Object obj)
           
 long getIgnitionTime()
           
 K getMapKey()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelfDestructiveKey

public SelfDestructiveKey(long ignitionTime)

SelfDestructiveKey

public SelfDestructiveKey(K mapKey,
                          long ignitionTime)
Method Detail

getMapKey

public K getMapKey()

getIgnitionTime

public long getIgnitionTime()

compareTo

public int compareTo(SelfDestructiveKey<K> key)
Specified by:
compareTo in interface Comparable<SelfDestructiveKey<K extends Comparable<K>>>

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2012. All Rights Reserved.