Class ConcurrentCollections

java.lang.Object
org.elasticsearch.common.util.concurrent.ConcurrentCollections

public abstract class ConcurrentCollections extends Object
  • Method Details

    • newConcurrentMapWithAggressiveConcurrency

      public static <K, V> ConcurrentMap<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> 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

      public static <K, V> ConcurrentMap<K,V> newConcurrentMap()
    • newConcurrentSet

      public static <V> Set<V> newConcurrentSet()
    • newQueue

      public static <T> Queue<T> newQueue()
    • newDeque

      public static <T> Deque<T> newDeque()
    • newBlockingQueue

      public static <T> BlockingQueue<T> newBlockingQueue()