public class SelfDestructiveKey<K extends Comparable<K>> extends Object implements Comparable<SelfDestructiveKey<K>>
| Constructor and Description |
|---|
SelfDestructiveKey(Duration timeoutDuration) |
SelfDestructiveKey(K mapKey,
Duration timeoutDuration) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SelfDestructiveKey<K> key) |
boolean |
equals(Object obj) |
long |
getIgnitionTime() |
K |
getMapKey() |
Duration |
getTimeoutDuration() |
int |
hashCode() |
public SelfDestructiveKey(Duration timeoutDuration)
public K getMapKey()
public Duration getTimeoutDuration()
public long getIgnitionTime()
public int compareTo(SelfDestructiveKey<K> key)
compareTo in interface Comparable<SelfDestructiveKey<K extends Comparable<K>>>Copyright © 2019. All rights reserved.