Module org.eclipse.persistence.jpa
Class IsolatedHashMap<K,V>
java.lang.Object
org.eclipse.persistence.internal.jpa.IsolatedHashMap<K,V>
- All Implemented Interfaces:
Map<K,V>
Partition isolated
HashMap. Provides HashMap with partition isolation for ServerPlatforms
that support partitioning. Partition isolation is transparent and keeps Map API unchanged.-
Nested Class Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Method Details
-
newMap
INTERNAL: Partition isolatedMapfactory. ProvidesMapseparated for individual partitions. Factory method will returnHashMapon platforms without partitions support. SlowerIsolatedHashMapinstance will be used only on platforms with partitions support. -
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<K,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-