| 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.util.WeakIdentityConcurrentMap<K,V>
K - The key typeV - The value typepublic final class WeakIdentityConcurrentMap<K,V>
A poor man's implementation of a WeakIdentityConcurrentMap to hold the CacheManager associated ExecutorServices
| Nested Class Summary | |
|---|---|
static interface | 
WeakIdentityConcurrentMap.CleanUpTask<T>
 | 
| Constructor Summary | |
|---|---|
WeakIdentityConcurrentMap()
Constructor  | 
|
WeakIdentityConcurrentMap(WeakIdentityConcurrentMap.CleanUpTask<V> cleanUpTask)
Constructor  | 
|
| Method Summary | |
|---|---|
 void | 
cleanUp()
 | 
 V | 
get(K key)
 | 
 Set<K> | 
keySet()
 | 
 V | 
put(K key,
    V value)
Puts into the underlying  | 
 V | 
putIfAbsent(K key,
            V value)
Puts into the underlying  | 
 V | 
remove(K key)
Remove from the underlying  | 
 String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public WeakIdentityConcurrentMap()
public WeakIdentityConcurrentMap(WeakIdentityConcurrentMap.CleanUpTask<V> cleanUpTask)
cleanUpTask - | Method Detail | 
|---|
public V put(K key,
             V value)
key - value - 
public V remove(K key)
key - 
public String toString()
toString in class Object
public V putIfAbsent(K key,
                     V value)
key - value - 
public V get(K key)
key - 
public void cleanUp()
public Set<K> keySet()
  | 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||