接口 | 说明 |
---|---|
EventExecutor |
The
EventExecutor is a special EventExecutorGroup which comes
with some handy methods to see if a Thread is executed in a event loop. |
EventExecutorGroup |
The
EventExecutorGroup is responsible for providing the EventExecutor 's to use
via its EventExecutorGroup.next() method. |
Future<V> |
The result of an asynchronous operation.
|
FutureListener<V> |
A subtype of
GenericFutureListener that hides type parameter for convenience. |
GenericFutureListener<F extends Future<?>> |
Listens to the result of a
Future . |
GenericProgressiveFutureListener<F extends ProgressiveFuture<?>> | |
OrderedEventExecutor |
Marker interface for
EventExecutor s that will process all submitted tasks in an ordered / serial fashion. |
ProgressiveFuture<V> |
A
Future which is used to indicate the progress of an operation. |
ProgressivePromise<V> |
Special
ProgressiveFuture which is writable. |
Promise<V> |
Special
Future which is writable. |
RejectedExecutionHandler |
Similar to
RejectedExecutionHandler but specific to SingleThreadEventExecutor . |
ScheduledFuture<V> |
The result of an scheduled asynchronous operation.
|
ThreadProperties |
Expose details for a
Thread . |
类 | 说明 |
---|---|
AbstractEventExecutor |
Abstract base class for
EventExecutor implementations. |
AbstractEventExecutorGroup |
Abstract base class for
EventExecutorGroup implementations. |
AbstractFuture<V> |
Abstract
Future implementation which does not allow for cancellation. |
AbstractScheduledEventExecutor |
Abstract base class for
EventExecutor s that want to support scheduling. |
CompleteFuture<V> | |
DefaultEventExecutorGroup |
Default implementation of
MultithreadEventExecutorGroup which will use DefaultEventExecutor instances
to handle the tasks. |
DefaultProgressivePromise<V> | |
DefaultPromise<V> | |
DefaultThreadFactory |
A
ThreadFactory implementation with a simple naming rule. |
FailedFuture<V> |
The
CompleteFuture which is failed already. |
FastThreadLocal<V> |
A special variant of
ThreadLocal that yields higher access performance when accessed from a
FastThreadLocalThread . |
FastThreadLocalThread |
A special
Thread that provides fast access to FastThreadLocal variables. |
GlobalEventExecutor |
Single-thread singleton
EventExecutor . |
ImmediateEventExecutor |
Executes
Runnable objects in the caller's thread. |
ImmediateExecutor |
Executor which execute tasks in the callers thread. |
MultithreadEventExecutorGroup |
Abstract base class for
EventExecutorGroup implementations that handles their tasks with multiple threads at
the same time. |
PromiseAggregator<V,F extends Future<V>> | 已过时
Use
PromiseCombiner
GenericFutureListener implementation which consolidates multiple Future s
into one, by listening to individual Future s and producing an aggregated result
(success/failure) when all Future s have completed. |
PromiseCombiner | |
PromiseNotifier<V,F extends Future<V>> |
GenericFutureListener implementation which takes other Promise s
and notifies them on completion. |
RejectedExecutionHandlers |
Expose helper methods which create different
RejectedExecutionHandler s. |
SingleThreadEventExecutor |
Abstract base class for
OrderedEventExecutor 's that execute all its submitted tasks in a single thread. |
SucceededFuture<V> |
The
CompleteFuture which is succeeded already. |
UnaryPromiseNotifier<T> | |
UnorderedThreadPoolEventExecutor |
EventExecutor implementation which makes no guarantees about the ordering of task execution that
are submitted because there may be multiple threads executing these tasks. |
异常错误 | 说明 |
---|---|
BlockingOperationException |
An
IllegalStateException which is raised when a user performed a blocking operation
when the user is in an event loop thread. |