public class ConcurrentReferenceKeyHashMap<K,V> extends ConcurrentMapperHashMap<K,java.lang.ref.Reference<K>,V,V>
entrySet, innerConcurrentMap, keySet, values
Constructor and Description |
---|
ConcurrentReferenceKeyHashMap(java.util.concurrent.ConcurrentMap<java.lang.ref.Reference<K>,V> innerConcurrentMap,
com.liferay.petra.memory.FinalizeManager.ReferenceFactory referenceFactory) |
ConcurrentReferenceKeyHashMap(com.liferay.petra.memory.FinalizeManager.ReferenceFactory referenceFactory) |
ConcurrentReferenceKeyHashMap(int initialCapacity,
com.liferay.petra.memory.FinalizeManager.ReferenceFactory referenceFactory) |
ConcurrentReferenceKeyHashMap(int initialCapacity,
float loadFactor,
int concurrencyLevel,
com.liferay.petra.memory.FinalizeManager.ReferenceFactory referenceFactory) |
ConcurrentReferenceKeyHashMap(java.util.Map<? extends K,? extends V> map,
com.liferay.petra.memory.FinalizeManager.ReferenceFactory referenceFactory) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.ref.Reference<K> |
mapKey(K key) |
protected java.lang.ref.Reference<K> |
mapKeyForQuery(K key) |
protected V |
mapValue(K key,
V value) |
protected V |
mapValueForQuery(V value) |
protected K |
unmapKey(java.lang.ref.Reference<K> reference) |
protected K |
unmapKeyForQuery(java.lang.ref.Reference<K> reference) |
protected V |
unmapValue(V value) |
protected V |
unmapValueForQuery(V value) |
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, putIfAbsent, remove, remove, replace, replace, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
public ConcurrentReferenceKeyHashMap(java.util.concurrent.ConcurrentMap<java.lang.ref.Reference<K>,V> innerConcurrentMap, com.liferay.petra.memory.FinalizeManager.ReferenceFactory referenceFactory)
public ConcurrentReferenceKeyHashMap(com.liferay.petra.memory.FinalizeManager.ReferenceFactory referenceFactory)
public ConcurrentReferenceKeyHashMap(int initialCapacity, com.liferay.petra.memory.FinalizeManager.ReferenceFactory referenceFactory)
public ConcurrentReferenceKeyHashMap(int initialCapacity, float loadFactor, int concurrencyLevel, com.liferay.petra.memory.FinalizeManager.ReferenceFactory referenceFactory)
protected java.lang.ref.Reference<K> mapKeyForQuery(K key)
mapKeyForQuery
in class ConcurrentMapperHashMap<K,java.lang.ref.Reference<K>,V,V>
protected V mapValueForQuery(V value)
mapValueForQuery
in class ConcurrentMapperHashMap<K,java.lang.ref.Reference<K>,V,V>
protected K unmapKeyForQuery(java.lang.ref.Reference<K> reference)
unmapKeyForQuery
in class ConcurrentMapperHashMap<K,java.lang.ref.Reference<K>,V,V>
protected V unmapValue(V value)
unmapValue
in class ConcurrentMapperHashMap<K,java.lang.ref.Reference<K>,V,V>
protected V unmapValueForQuery(V value)
unmapValueForQuery
in class ConcurrentMapperHashMap<K,java.lang.ref.Reference<K>,V,V>