Class CopyOnWriteWeakMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
org.jboss.logmanager.CopyOnWriteWeakMap<K,V>
- All Implemented Interfaces:
ConcurrentMap<K,V>, Map<K, V>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classprivate static final classNested classes/interfaces inherited from class AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final FastCopyHashMapprivate FastCopyHashMap<K, CopyOnWriteWeakMap.Node<K, V>> private final CopyOnWriteWeakMap.Queue<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate FastCopyHashMap<K, CopyOnWriteWeakMap.Node<K, V>> private FastCopyHashMap<K, CopyOnWriteWeakMap.Node<K, V>> voidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) private FastCopyHashMap<K, CopyOnWriteWeakMap.Node<K, V>> empty()entrySet()booleanisEmpty()putIfAbsent(K key, V value) booleanbooleanintsize()Methods inherited from interface ConcurrentMap
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAll
-
Field Details
-
queue
-
EMPTY
-
map
-
-
Constructor Details
-
CopyOnWriteWeakMap
CopyOnWriteWeakMap()
-
-
Method Details
-
empty
-
cleanCopyForRemove
-
cleanCopyForMod
-
putIfAbsent
- Specified by:
putIfAbsentin interfaceConcurrentMap<K,V> - Specified by:
putIfAbsentin interfaceMap<K,V>
-
remove
-
replace
-
replace
-
size
-
isEmpty
-
containsKey
- Specified by:
containsKeyin interfaceMap<K,V> - Overrides:
containsKeyin classAbstractMap<K,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V> - Overrides:
containsValuein classAbstractMap<K,V>
-
get
-
put
-
remove
-
clear
-
entrySet
-