org.terracotta.offheapstore.util
Class WeakIdentityHashMap<K,V>

java.lang.Object
  extended by org.terracotta.offheapstore.util.WeakIdentityHashMap<K,V>

public class WeakIdentityHashMap<K,V>
extends Object

Author:
Chris Dennis

Nested Class Summary
static interface WeakIdentityHashMap.ReaperTask<T>
           
 
Constructor Summary
WeakIdentityHashMap()
           
WeakIdentityHashMap(WeakIdentityHashMap.ReaperTask<V> reaperTask)
           
 
Method Summary
 Iterator<Map.Entry<K,V>> entries()
           
 V get(K key)
           
 V put(K key, V value)
           
 void reap()
           
 V remove(K key)
           
 Iterator<V> values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeakIdentityHashMap

public WeakIdentityHashMap()

WeakIdentityHashMap

public WeakIdentityHashMap(WeakIdentityHashMap.ReaperTask<V> reaperTask)
Method Detail

put

public V put(K key,
             V value)

get

public V get(K key)

remove

public V remove(K key)

entries

public Iterator<Map.Entry<K,V>> entries()

values

public Iterator<V> values()

reap

public void reap()


Copyright © 2015. All Rights Reserved.