Class ConcurrentCollections
java.lang.Object
org.opensearch.common.util.concurrent.ConcurrentCollections
Thread safe collection base class.
- Opensearch.internal:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> BlockingQueue<T>static <K,V> ConcurrentMap<K, V> static <V> ConcurrentMapLong<V>static <V> ConcurrentMapLong<V>Creates a new CHM with an aggressive concurrency level, aimed at highly updateable long living maps.static <K,V> ConcurrentMap<K, V> Creates a new CHM with an aggressive concurrency level, aimed at high concurrent update rate long living maps.static <K,V> ConcurrentMap<K, V> newConcurrentMapWithAggressiveConcurrency(int initalCapacity) Creates a new CHM with an aggressive concurrency level, aimed at high concurrent update rate long living maps.static <V> Set<V>static <T> Deque<T>newDeque()static <T> Queue<T>newQueue()
-
Method Details
-
newConcurrentMapWithAggressiveConcurrency
Creates a new CHM with an aggressive concurrency level, aimed at high concurrent update rate long living maps. -
newConcurrentMapWithAggressiveConcurrency
public static <K,V> ConcurrentMap<K,V> newConcurrentMapWithAggressiveConcurrency(int initalCapacity) Creates a new CHM with an aggressive concurrency level, aimed at high concurrent update rate long living maps. -
newConcurrentMap
-
newConcurrentMapLongWithAggressiveConcurrency
Creates a new CHM with an aggressive concurrency level, aimed at highly updateable long living maps. -
newConcurrentMapLong
-
newConcurrentSet
-
newQueue
-
newDeque
-
newBlockingQueue
-