Package com.liferay.petra.concurrent
Class ConcurrentReferenceKeyHashMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
com.liferay.petra.concurrent.ConcurrentMapperHashMap<K,Reference<K>,V,V>
com.liferay.petra.concurrent.ConcurrentReferenceKeyHashMap<K,V>
- All Implemented Interfaces:
Serializable,ConcurrentMap<K,,V> Map<K,V>
- See Also:
-
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> -
Field Summary
Fields inherited from class com.liferay.petra.concurrent.ConcurrentMapperHashMap
entrySet, innerConcurrentMap, keySet, values -
Constructor Summary
ConstructorsConstructorDescriptionConcurrentReferenceKeyHashMap(int initialCapacity, float loadFactor, int concurrencyLevel, com.liferay.petra.memory.FinalizeManager.ReferenceFactory referenceFactory) ConcurrentReferenceKeyHashMap(int initialCapacity, com.liferay.petra.memory.FinalizeManager.ReferenceFactory referenceFactory) ConcurrentReferenceKeyHashMap(com.liferay.petra.memory.FinalizeManager.ReferenceFactory referenceFactory) ConcurrentReferenceKeyHashMap(ConcurrentMap<Reference<K>, V> innerConcurrentMap, com.liferay.petra.memory.FinalizeManager.ReferenceFactory referenceFactory) -
Method Summary
Modifier and TypeMethodDescriptionmapKeyForQuery(K key) protected Vprotected VmapValueForQuery(V value) protected Kprotected KunmapKeyForQuery(Reference<K> reference) protected VunmapValue(V value) protected VunmapValueForQuery(V value) Methods inherited from class com.liferay.petra.concurrent.ConcurrentMapperHashMap
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, putIfAbsent, remove, remove, replace, replace, size, valuesMethods inherited from class java.util.AbstractMap
clone, equals, hashCode, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.concurrent.ConcurrentMap
forEach, getOrDefault, merge, replaceAll
-
Constructor Details
-
ConcurrentReferenceKeyHashMap
public ConcurrentReferenceKeyHashMap(ConcurrentMap<Reference<K>, V> innerConcurrentMap, com.liferay.petra.memory.FinalizeManager.ReferenceFactory referenceFactory) -
ConcurrentReferenceKeyHashMap
public ConcurrentReferenceKeyHashMap(com.liferay.petra.memory.FinalizeManager.ReferenceFactory referenceFactory) -
ConcurrentReferenceKeyHashMap
public ConcurrentReferenceKeyHashMap(int initialCapacity, com.liferay.petra.memory.FinalizeManager.ReferenceFactory referenceFactory) -
ConcurrentReferenceKeyHashMap
public ConcurrentReferenceKeyHashMap(int initialCapacity, float loadFactor, int concurrencyLevel, com.liferay.petra.memory.FinalizeManager.ReferenceFactory referenceFactory)
-
-
Method Details
-
mapKey
-
mapKeyForQuery
- Specified by:
mapKeyForQueryin classConcurrentMapperHashMap<K,Reference<K>, V, V>
-
mapValue
-
mapValueForQuery
- Specified by:
mapValueForQueryin classConcurrentMapperHashMap<K,Reference<K>, V, V>
-
unmapKey
-
unmapKeyForQuery
- Specified by:
unmapKeyForQueryin classConcurrentMapperHashMap<K,Reference<K>, V, V>
-
unmapValue
- Specified by:
unmapValuein classConcurrentMapperHashMap<K,Reference<K>, V, V>
-
unmapValueForQuery
- Specified by:
unmapValueForQueryin classConcurrentMapperHashMap<K,Reference<K>, V, V>
-