Liferay 7.0-ce-b4

com.liferay.portal.kernel.concurrent
Class ConcurrentReferenceKeyHashMap<K,V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by com.liferay.portal.kernel.concurrent.ConcurrentMapperHashMap<K,Reference<K>,V,V>
          extended by com.liferay.portal.kernel.concurrent.ConcurrentReferenceKeyHashMap<K,V>
All Implemented Interfaces:
Serializable, ConcurrentMap<K,V>, Map<K,V>

public class ConcurrentReferenceKeyHashMap<K,V>
extends ConcurrentMapperHashMap<K,Reference<K>,V,V>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class com.liferay.portal.kernel.concurrent.ConcurrentMapperHashMap
entrySet, innerConcurrentMap, keySet, values
 
Constructor Summary
ConcurrentReferenceKeyHashMap(ConcurrentMap<Reference<K>,V> innerConcurrentMap, FinalizeManager.ReferenceFactory referenceFactory)
           
ConcurrentReferenceKeyHashMap(FinalizeManager.ReferenceFactory referenceFactory)
           
ConcurrentReferenceKeyHashMap(int initialCapacity, FinalizeManager.ReferenceFactory referenceFactory)
           
ConcurrentReferenceKeyHashMap(int initialCapacity, float loadFactor, int concurrencyLevel, FinalizeManager.ReferenceFactory referenceFactory)
           
ConcurrentReferenceKeyHashMap(Map<? extends K,? extends V> map, FinalizeManager.ReferenceFactory referenceFactory)
           
 
Method Summary
protected  Reference<K> mapKey(K key)
           
protected  Reference<K> mapKeyForQuery(K key)
           
protected  V mapValue(K key, V value)
           
protected  V mapValueForQuery(V value)
           
protected  K unmapKey(Reference<K> reference)
           
protected  K unmapKeyForQuery(Reference<K> reference)
           
protected  V unmapValue(V value)
           
protected  V unmapValueForQuery(V value)
           
 
Methods inherited from class com.liferay.portal.kernel.concurrent.ConcurrentMapperHashMap
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, putIfAbsent, remove, remove, replace, replace, size, values
 
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

ConcurrentReferenceKeyHashMap

public ConcurrentReferenceKeyHashMap(ConcurrentMap<Reference<K>,V> innerConcurrentMap,
                                     FinalizeManager.ReferenceFactory referenceFactory)

ConcurrentReferenceKeyHashMap

public ConcurrentReferenceKeyHashMap(int initialCapacity,
                                     float loadFactor,
                                     int concurrencyLevel,
                                     FinalizeManager.ReferenceFactory referenceFactory)

ConcurrentReferenceKeyHashMap

public ConcurrentReferenceKeyHashMap(int initialCapacity,
                                     FinalizeManager.ReferenceFactory referenceFactory)

ConcurrentReferenceKeyHashMap

public ConcurrentReferenceKeyHashMap(Map<? extends K,? extends V> map,
                                     FinalizeManager.ReferenceFactory referenceFactory)

ConcurrentReferenceKeyHashMap

public ConcurrentReferenceKeyHashMap(FinalizeManager.ReferenceFactory referenceFactory)
Method Detail

mapKey

protected Reference<K> mapKey(K key)
Specified by:
mapKey in class ConcurrentMapperHashMap<K,Reference<K>,V,V>

mapKeyForQuery

protected Reference<K> mapKeyForQuery(K key)
Specified by:
mapKeyForQuery in class ConcurrentMapperHashMap<K,Reference<K>,V,V>

mapValue

protected V mapValue(K key,
                     V value)
Specified by:
mapValue in class ConcurrentMapperHashMap<K,Reference<K>,V,V>

mapValueForQuery

protected V mapValueForQuery(V value)
Specified by:
mapValueForQuery in class ConcurrentMapperHashMap<K,Reference<K>,V,V>

unmapKey

protected K unmapKey(Reference<K> reference)
Specified by:
unmapKey in class ConcurrentMapperHashMap<K,Reference<K>,V,V>

unmapKeyForQuery

protected K unmapKeyForQuery(Reference<K> reference)
Specified by:
unmapKeyForQuery in class ConcurrentMapperHashMap<K,Reference<K>,V,V>

unmapValue

protected V unmapValue(V value)
Specified by:
unmapValue in class ConcurrentMapperHashMap<K,Reference<K>,V,V>

unmapValueForQuery

protected V unmapValueForQuery(V value)
Specified by:
unmapValueForQuery in class ConcurrentMapperHashMap<K,Reference<K>,V,V>

Liferay 7.0-ce-b4