Package com.liferay.petra.concurrent
Class ConcurrentIdentityHashMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
com.liferay.petra.concurrent.ConcurrentMapperHashMap<K,IdentityKey<K>,V,V>
com.liferay.petra.concurrent.ConcurrentIdentityHashMap<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
ConstructorsConstructorDescriptionConcurrentIdentityHashMap(int initialCapacity) ConcurrentIdentityHashMap(int initialCapacity, float loadFactor, int concurrencyLevel) ConcurrentIdentityHashMap(ConcurrentMap<IdentityKey<K>, V> innerConcurrentMap) ConcurrentIdentityHashMap(Map<? extends K, ? extends V> map) -
Method Summary
Modifier and TypeMethodDescriptionprotected IdentityKey<K>protected IdentityKey<K>mapKeyForQuery(K key) protected Vprotected VmapValueForQuery(V value) protected KunmapKey(IdentityKey<K> identityKey) protected KunmapKeyForQuery(IdentityKey<K> identityKey) 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
-
ConcurrentIdentityHashMap
public ConcurrentIdentityHashMap() -
ConcurrentIdentityHashMap
-
ConcurrentIdentityHashMap
public ConcurrentIdentityHashMap(int initialCapacity) -
ConcurrentIdentityHashMap
public ConcurrentIdentityHashMap(int initialCapacity, float loadFactor, int concurrencyLevel) -
ConcurrentIdentityHashMap
-
-
Method Details
-
mapKey
- Specified by:
mapKeyin classConcurrentMapperHashMap<K,IdentityKey<K>, V, V>
-
mapKeyForQuery
- Specified by:
mapKeyForQueryin classConcurrentMapperHashMap<K,IdentityKey<K>, V, V>
-
mapValue
- Specified by:
mapValuein classConcurrentMapperHashMap<K,IdentityKey<K>, V, V>
-
mapValueForQuery
- Specified by:
mapValueForQueryin classConcurrentMapperHashMap<K,IdentityKey<K>, V, V>
-
unmapKey
- Specified by:
unmapKeyin classConcurrentMapperHashMap<K,IdentityKey<K>, V, V>
-
unmapKeyForQuery
- Specified by:
unmapKeyForQueryin classConcurrentMapperHashMap<K,IdentityKey<K>, V, V>
-
unmapValue
- Specified by:
unmapValuein classConcurrentMapperHashMap<K,IdentityKey<K>, V, V>
-
unmapValueForQuery
- Specified by:
unmapValueForQueryin classConcurrentMapperHashMap<K,IdentityKey<K>, V, V>
-