Package org.cristalise.kernel.utils
Class TransientCache<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
org.cristalise.kernel.utils.TransientCache<K,V>
- Type Parameters:
K- key valueV-
- All Implemented Interfaces:
Map<K,V>
TransientCache - Uses transient references to allow unused entries to be
reaped by the java garbage collector.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractMap
clone, containsKey, containsValue, equals, get, hashCode, isEmpty, putAll, size, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
TransientCache
public TransientCache()
-
-
Method Details
-
entrySet
-
put
-
makeReference
-
remove
-
clear
public void clear() -
keySet
-