|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cassandra.utils.ExpiringMap<K,V>
public class ExpiringMap<K,V>
| Constructor Summary | |
|---|---|
ExpiringMap(long expiration)
|
|
| Method Summary | |
|---|---|
boolean |
containsKey(K key)
|
V |
get(K key)
|
long |
getAge(K key)
|
boolean |
isEmpty()
|
java.util.Set<K> |
keySet()
|
void |
put(K key,
V value)
|
V |
remove(K key)
|
void |
shutdown()
|
int |
size()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExpiringMap(long expiration)
| Method Detail |
|---|
public void shutdown()
public void put(K key,
V value)
public V get(K key)
public V remove(K key)
public long getAge(K key)
public int size()
public boolean containsKey(K key)
public boolean isEmpty()
public java.util.Set<K> keySet()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||