Package org.jppf.utils.collections
Class ConcurrentSoftReferenceValuesMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
org.jppf.utils.collections.SoftReferenceValuesMap<K,V>
org.jppf.utils.collections.ConcurrentSoftReferenceValuesMap<K,V>
- Type Parameters:
K- the type of the keys.V- the type of the values.
- All Implemented Interfaces:
Map<K,V>
A concurrent map whose values are soft references. When a value has been garbage-collected,
the corresponding map entry is removed.
- Author:
- Laurent Cohen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jppf.utils.collections.SoftReferenceValuesMap
clear, entrySet, get, isEmpty, keySet, put, remove, sizeMethods inherited from class java.util.AbstractMap
clone, containsKey, containsValue, equals, hashCode, putAll, 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
-
ConcurrentSoftReferenceValuesMap
public ConcurrentSoftReferenceValuesMap()
-