Package jakarta.el
Class BeanELResolver.SoftConcurrentHashMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.concurrent.ConcurrentHashMap<java.lang.Class<?>,BeanELResolver.BeanProperties>
-
- jakarta.el.BeanELResolver.SoftConcurrentHashMap
-
- All Implemented Interfaces:
java.io.Serializable,java.util.concurrent.ConcurrentMap<java.lang.Class<?>,BeanELResolver.BeanProperties>,java.util.Map<java.lang.Class<?>,BeanELResolver.BeanProperties>
- Enclosing class:
- BeanELResolver
private static class BeanELResolver.SoftConcurrentHashMap extends java.util.concurrent.ConcurrentHashMap<java.lang.Class<?>,BeanELResolver.BeanProperties>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
java.util.concurrent.ConcurrentHashMap.KeySetView<K extends java.lang.Object,V extends java.lang.Object>
-
-
Field Summary
Fields Modifier and Type Field Description private static intCACHE_INIT_SIZEprivate java.util.concurrent.ConcurrentHashMap<java.lang.Class<?>,BeanELResolver.BPSoftReference>mapprivate java.lang.ref.ReferenceQueue<BeanELResolver.BeanProperties>refQprivate static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateSoftConcurrentHashMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidcleanup()BeanELResolver.BeanPropertiesget(java.lang.Object key)BeanELResolver.BeanPropertiesput(java.lang.Class<?> key, BeanELResolver.BeanProperties value)BeanELResolver.BeanPropertiesputIfAbsent(java.lang.Class<?> key, BeanELResolver.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, values
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
CACHE_INIT_SIZE
private static final int CACHE_INIT_SIZE
- See Also:
- Constant Field Values
-
map
private java.util.concurrent.ConcurrentHashMap<java.lang.Class<?>,BeanELResolver.BPSoftReference> map
-
refQ
private java.lang.ref.ReferenceQueue<BeanELResolver.BeanProperties> refQ
-
-
Method Detail
-
cleanup
private void cleanup()
-
put
public BeanELResolver.BeanProperties put(java.lang.Class<?> key, BeanELResolver.BeanProperties value)
- Specified by:
putin interfacejava.util.Map<java.lang.Class<?>,BeanELResolver.BeanProperties>- Overrides:
putin classjava.util.concurrent.ConcurrentHashMap<java.lang.Class<?>,BeanELResolver.BeanProperties>
-
putIfAbsent
public BeanELResolver.BeanProperties putIfAbsent(java.lang.Class<?> key, BeanELResolver.BeanProperties value)
- Specified by:
putIfAbsentin interfacejava.util.concurrent.ConcurrentMap<java.lang.Class<?>,BeanELResolver.BeanProperties>- Specified by:
putIfAbsentin interfacejava.util.Map<java.lang.Class<?>,BeanELResolver.BeanProperties>- Overrides:
putIfAbsentin classjava.util.concurrent.ConcurrentHashMap<java.lang.Class<?>,BeanELResolver.BeanProperties>
-
get
public BeanELResolver.BeanProperties get(java.lang.Object key)
- Specified by:
getin interfacejava.util.Map<java.lang.Class<?>,BeanELResolver.BeanProperties>- Overrides:
getin classjava.util.concurrent.ConcurrentHashMap<java.lang.Class<?>,BeanELResolver.BeanProperties>
-
-