org.smallmind.quorum.transport.message
Class SelfDestructiveMap<K extends Comparable<K>,V extends SelfDestructive>
java.lang.Object
org.smallmind.quorum.transport.message.SelfDestructiveMap<K,V>
public class SelfDestructiveMap<K extends Comparable<K>,V extends SelfDestructive>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelfDestructiveMap
public SelfDestructiveMap(int timeoutSeconds)
get
public V get(K key)
putIfAbsent
public V putIfAbsent(K key,
V value)
remove
public V remove(K key)
shutdown
public void shutdown()
throws InterruptedException
- Throws:
InterruptedException
Copyright © 2012. All Rights Reserved.