public class ExpirableValuesPseudoMap.ValueHolder
extends java.lang.Object
Constructor | Description |
---|---|
ValueHolder(K key,
V value) |
|
ValueHolder(K key,
V value,
long ttl,
long exp,
short rt) |
Modifier and Type | Method | Description |
---|---|---|
void |
adjust(long ttl,
long exp,
short rt) |
|
boolean |
equals(java.lang.Object obj) |
|
long |
getExpiration() |
|
U |
getExtra() |
|
K |
getKey() |
|
short |
getRefMode() |
|
long |
getTtl() |
|
V |
getValue() |
|
int |
hashCode() |
|
void |
setExtra(U extra) |
|
void |
touch() |
public void adjust(long ttl, long exp, short rt)
public V getValue()
public K getKey()
public U getExtra()
public void setExtra(U extra)
public void touch()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public long getTtl()
public long getExpiration()
public short getRefMode()