Class ConcurrentCollections
java.lang.Object
org.elasticsearch.common.util.concurrent.ConcurrentCollections
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> BlockingQueue<T>
static <K,
V> ConcurrentMap<K, V> 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
-
newConcurrentSet
-
newQueue
-
newDeque
-
newBlockingQueue
-