Utility classes for concurrent / async tasks.
Interface Summary Interface Description EventExecutor EventExecutorGroup Future<V>The result of an asynchronous operation. FutureCompletionStage<V> FutureContextListener<C,V>Listens to the result of a
FutureListener<V>Listens to the result of a
FuturePromiseFactory OrderedEventExecutorMarker interface for
EventExecutors that will process all submitted tasks in an ordered / serial fashion.
Futurewhich is writable.
RejectedExecutionHandler RunnableFuture<V> RunnableScheduledFuture<V> ThreadPropertiesExpose details for a
Class Summary Class Description AbstractEventExecutorAbstract base class for
AbstractScheduledEventExecutorAbstract base class for
EventExecutors that want to support scheduling.
DefaultEventExecutorGroup DefaultPromise<V> DefaultThreadFactoryA
ThreadFactoryimplementation with a simple naming rule.
FastThreadLocal<V> FastThreadLocalThread GlobalEventExecutorSingle-thread singleton
Runnableobjects in the caller's thread.
Executorwhich execute tasks in the callers thread.
EventExecutorGroupimplementation that handles their tasks with multiple threads at the same time.
NonStickyEventExecutorGroup PromiseCombinerA promise combiner monitors the outcome of a number of discrete futures, then notifies a final, aggregate promise when all of the combined futures are finished. RejectedExecutionHandlersExpose helper methods which create different
OrderedEventExecutor's implementation that execute all its submitted tasks in a single thread.
EventExecutorimplementation which makes no guarantees about the ordering of task execution that are submitted because there may be multiple threads executing these tasks.
Exception Summary Exception Description BlockingOperationExceptionAn
IllegalStateExceptionwhich is raised when a user performed a blocking operation when the user is in an event loop thread.