Package org.jboss.el.cache
Class BeanPropertiesCache.SoftConcurrentHashMap
java.lang.Object
java.util.AbstractMap<Class<?>,BeanPropertiesCache.BeanProperties>
java.util.concurrent.ConcurrentHashMap<Class<?>,BeanPropertiesCache.BeanProperties>
org.jboss.el.cache.BeanPropertiesCache.SoftConcurrentHashMap
- All Implemented Interfaces:
Serializable,ConcurrentMap<Class<?>,,BeanPropertiesCache.BeanProperties> Map<Class<?>,BeanPropertiesCache.BeanProperties>
- Enclosing class:
BeanPropertiesCache
public static class BeanPropertiesCache.SoftConcurrentHashMap
extends ConcurrentHashMap<Class<?>,BeanPropertiesCache.BeanProperties>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
ConcurrentHashMap.KeySetView<K,V> Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcleanup()protected voidclear(ClassLoader classLoader) put(Class<?> key, BeanPropertiesCache.BeanProperties value) putIfAbsent(Class<?> key, BeanPropertiesCache.BeanProperties value) Methods inherited from class java.util.concurrent.ConcurrentHashMap
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, putAll, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, valuesMethods inherited from class java.util.AbstractMap
clone
-
Field Details
-
CACHE_INIT_SIZE
private static final int CACHE_INIT_SIZE- See Also:
-
map
-
refQ
-
-
Constructor Details
-
SoftConcurrentHashMap
public SoftConcurrentHashMap()
-
-
Method Details
-
cleanup
private void cleanup() -
clear
-
put
public BeanPropertiesCache.BeanProperties put(Class<?> key, BeanPropertiesCache.BeanProperties value) - Specified by:
putin interfaceMap<Class<?>,BeanPropertiesCache.BeanProperties> - Overrides:
putin classConcurrentHashMap<Class<?>,BeanPropertiesCache.BeanProperties>
-
putIfAbsent
public BeanPropertiesCache.BeanProperties putIfAbsent(Class<?> key, BeanPropertiesCache.BeanProperties value) - Specified by:
putIfAbsentin interfaceConcurrentMap<Class<?>,BeanPropertiesCache.BeanProperties> - Specified by:
putIfAbsentin interfaceMap<Class<?>,BeanPropertiesCache.BeanProperties> - Overrides:
putIfAbsentin classConcurrentHashMap<Class<?>,BeanPropertiesCache.BeanProperties>
-
get
- Specified by:
getin interfaceMap<Class<?>,BeanPropertiesCache.BeanProperties> - Overrides:
getin classConcurrentHashMap<Class<?>,BeanPropertiesCache.BeanProperties>
-