Class ConcurrentCollections
org.elasticsearch.common.util.concurrent.ConcurrentCollections
public abstract class ConcurrentCollections
extends
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> <T>
static <K, V> <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> <K,V>
Creates a new CHM with an aggressive concurrency level, aimed at high concurrent update rate long living maps.static <K, V> <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> <V>
static <T> <T>
newDeque()
static <T> <T>
newQueue()
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Method Details
-
newConcurrentMapWithAggressiveConcurrency
public static <K, V> <K,V> newConcurrentMapWithAggressiveConcurrency()Creates a new CHM with an aggressive concurrency level, aimed at high concurrent update rate long living maps. -
newConcurrentMapWithAggressiveConcurrency
public static <K, V> <K,V> newConcurrentMapWithAggressiveConcurrency(int initalCapacity)Creates a new CHM with an aggressive concurrency level, aimed at high concurrent update rate long living maps. -
newConcurrentMap
public static <K, V> <K,V> newConcurrentMap() -
newConcurrentMapLongWithAggressiveConcurrency
Creates a new CHM with an aggressive concurrency level, aimed at highly updateable long living maps. -
newConcurrentMapLong
-
newConcurrentSet
public static <V> <V> newConcurrentSet() -
newQueue
public static <T> <T> newQueue() -
newDeque
public static <T> <T> newDeque() -
newBlockingQueue
public static <T> <T> newBlockingQueue()
-