Package com.sun.el.lang
Class ExpressionBuilder.SoftConcurrentHashMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.concurrent.ConcurrentHashMap<java.lang.String,Node>
-
- com.sun.el.lang.ExpressionBuilder.SoftConcurrentHashMap
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.concurrent.ConcurrentMap<java.lang.String,Node>
,java.util.Map<java.lang.String,Node>
- Enclosing class:
- ExpressionBuilder
private static class ExpressionBuilder.SoftConcurrentHashMap extends java.util.concurrent.ConcurrentHashMap<java.lang.String,Node>
-
-
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 int
CACHE_INIT_SIZE
private java.util.concurrent.ConcurrentHashMap<java.lang.String,ExpressionBuilder.NodeSoftReference>
map
private java.lang.ref.ReferenceQueue<Node>
refQ
-
Constructor Summary
Constructors Modifier Constructor Description private
SoftConcurrentHashMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
cleanup()
Node
get(java.lang.Object key)
Node
put(java.lang.String key, Node value)
Node
putIfAbsent(java.lang.String key, Node 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
-
CACHE_INIT_SIZE
private static final int CACHE_INIT_SIZE
- See Also:
- Constant Field Values
-
map
private java.util.concurrent.ConcurrentHashMap<java.lang.String,ExpressionBuilder.NodeSoftReference> map
-
refQ
private java.lang.ref.ReferenceQueue<Node> refQ
-
-