Package org.jgroups.blocks
Class ReplicatedHashMap.SynchronizedReplicatedMap<K,V>
java.lang.Object
org.jgroups.blocks.ReplicatedHashMap.SynchronizedReplicatedMap<K,V>
- All Implemented Interfaces:
ConcurrentMap<K,,V> Map<K,,V> ReplicatedMap<K,V>
- Enclosing class:
ReplicatedHashMap<K,V>
private static final class ReplicatedHashMap.SynchronizedReplicatedMap<K,V>
extends Object
implements ReplicatedMap<K,V>
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid_clear()void_putIfAbsent(K key, V value) booleanbooleanvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleaninthashCode()booleanisEmpty()keySet()voidputIfAbsent(K key, V value) booleanbooleanintsize()toString()values()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.concurrent.ConcurrentMap
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAll
-
Field Details
-
map
-
mutex
-
keySet
-
entrySet
-
values
-
-
Constructor Details
-
SynchronizedReplicatedMap
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<K,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V>
-
get
-
put
-
putAll
-
clear
public void clear() -
putIfAbsent
- Specified by:
putIfAbsentin interfaceConcurrentMap<K,V> - Specified by:
putIfAbsentin interfaceMap<K,V>
-
remove
-
replace
-
replace
-
keySet
-
values
-
entrySet
-
remove
-
_put
- Specified by:
_putin interfaceReplicatedMap<K,V>
-
_putAll
- Specified by:
_putAllin interfaceReplicatedMap<K,V>
-
_clear
public void _clear()- Specified by:
_clearin interfaceReplicatedMap<K,V>
-
_remove
- Specified by:
_removein interfaceReplicatedMap<K,V>
-
_putIfAbsent
- Specified by:
_putIfAbsentin interfaceReplicatedMap<K,V>
-
_remove
- Specified by:
_removein interfaceReplicatedMap<K,V>
-
_replace
- Specified by:
_replacein interfaceReplicatedMap<K,V>
-
_replace
- Specified by:
_replacein interfaceReplicatedMap<K,V>
-
toString
-
hashCode
public int hashCode() -
equals
-