org.smallmind.quorum.transport.message
Class SelfDestructiveMap<K extends Comparable<K>,V extends SelfDestructive>

java.lang.Object
  extended by org.smallmind.quorum.transport.message.SelfDestructiveMap<K,V>

public class SelfDestructiveMap<K extends Comparable<K>,V extends SelfDestructive>
extends Object


Constructor Summary
SelfDestructiveMap(int timeoutSeconds)
           
 
Method Summary
 V get(K key)
           
 V putIfAbsent(K key, V value)
           
 V remove(K key)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelfDestructiveMap

public SelfDestructiveMap(int timeoutSeconds)
Method Detail

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.