Package org.elasticsearch.common.util.concurrent
-
Interface Summary Interface Description ConcurrentMapLong<T> EsThreadPoolExecutor.ShutdownListener ThreadContext.StoredContext WrappedRunnable XRejectedExecutionHandler -
Class Summary Class Description AbstractAsyncTask A base class for tasks that need to repeat.AbstractLifecycleRunnable AbstractLifecycleRunnable
is a service-lifecycle awareAbstractRunnable
.AbstractRunnable An extension to runnable.AsyncIOProcessor<Item> This async IO processor allows to batch IO operations and have a single writer processing the write operations.AtomicArray<E> A list backed by anAtomicReferenceArray
with potential null values, easily allowing to get the concrete values as a list usingAtomicArray.asList()
.BaseFuture<V> ConcurrentCollections ConcurrentHashMapLong<T> CountDown A simple thread safe count-down class that in contrast to aCountDownLatch
never blocks.EsAbortPolicy EsExecutors EsThreadPoolExecutor An extension to thread pool executor, allowing (in the future) to add specific additional stats to it.FutureUtils KeyedLock<T> This class manages locks.ListenableFuture<V> A future implementation that allows for the result to be passed to listeners waiting for notification.PrioritizedCallable<T> PrioritizedEsThreadPoolExecutor A prioritizing executor which uses a priority queue as a work queue.PrioritizedEsThreadPoolExecutor.Pending PrioritizedRunnable QueueResizingEsThreadPoolExecutor An extension to thread pool executor, which automatically adjusts the queue size of theResizableBlockingQueue
according to Little's Law.ReleasableLock Releasable lock used inside of Engine implementationsRunOnce Runnable that can only be run one time.SizeBlockingQueue<E> A size based queue wrapping another blocking queue to provide (somewhat relaxed) capacity checks.ThreadContext A ThreadContext is a map of string headers and a transient map of keyed objects that are associated with a thread. -
Exception Summary Exception Description EsRejectedExecutionException UncategorizedExecutionException