Interface | Description |
---|---|
EventExecutor |
The
EventExecutor is a special EventExecutorGroup which comes
with some handy methods to see if a Thread is executed in a event loop. |
EventExecutorChooserFactory |
Factory that creates new
EventExecutorChooserFactory.EventExecutorChooser s. |
EventExecutorChooserFactory.EventExecutorChooser |
Chooses the next
EventExecutor to use. |
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 . |
Class | Description |
---|---|
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> | |
DefaultEventExecutor |
Default
SingleThreadEventExecutor implementation which just execute all submitted task in a
serial fashion. |
DefaultEventExecutorChooserFactory |
Default implementation which uses simple round-robin to choose next
EventExecutor . |
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. |
NonStickyEventExecutorGroup |
EventExecutorGroup which will preserve Runnable execution order but makes no guarantees about what
EventExecutor (and therefore Thread ) will be used to execute the Runnable s. |
PromiseAggregator<V,F extends Future<V>> | Deprecated
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 |
A 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.
|
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. |
ThreadPerTaskExecutor | |
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. |
Exception | Description |
---|---|
BlockingOperationException |
An
IllegalStateException which is raised when a user performed a blocking operation
when the user is in an event loop thread. |
Copyright © 2008–2019 The Netty Project. All rights reserved.