Package com.devebot.opflow.supports
Class OpflowConcurrentMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.concurrent.ConcurrentHashMap<K,V>
com.devebot.opflow.supports.OpflowConcurrentMap<K,V>
- Type Parameters:
K-V-
- All Implemented Interfaces:
Serializable,ConcurrentMap<K,V>,Map<K,V>
public class OpflowConcurrentMap<K,V> extends ConcurrentHashMap<K,V>
- Author:
- drupalex
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
ConcurrentHashMap.KeySetView<K extends Object,V extends Object>Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object> -
Constructor Summary
Constructors Constructor Description OpflowConcurrentMap()OpflowConcurrentMap(int initialCapacity)OpflowConcurrentMap(int initialCapacity, float loadFactor)OpflowConcurrentMap(int initialCapacity, float loadFactor, int concurrencyLevel)OpflowConcurrentMap(Map<? extends K,? extends V> m) -
Method Summary
Modifier and Type Method Description intgetMaxSize()Vput(K key, V value)voidresetMaxSize()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, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, putAll, putIfAbsent, 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
-
Constructor Details
-
OpflowConcurrentMap
public OpflowConcurrentMap() -
OpflowConcurrentMap
public OpflowConcurrentMap(int initialCapacity) -
OpflowConcurrentMap
-
OpflowConcurrentMap
public OpflowConcurrentMap(int initialCapacity, float loadFactor) -
OpflowConcurrentMap
public OpflowConcurrentMap(int initialCapacity, float loadFactor, int concurrencyLevel)
-
-
Method Details
-
getMaxSize
public int getMaxSize() -
resetMaxSize
public void resetMaxSize() -
put
-