| Package | Description |
|---|---|
| io.netty.util.concurrent |
Utility classes for concurrent / async tasks.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
OrderedEventExecutor
Marker interface for
EventExecutors that will process all submitted tasks in an ordered / serial fashion. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEventExecutor
Abstract base class for
EventExecutor implementations. |
class |
AbstractScheduledEventExecutor
Abstract base class for
EventExecutors that want to support scheduling. |
class |
GlobalEventExecutor
Single-thread singleton
EventExecutor. |
class |
ImmediateEventExecutor
Executes
Runnable objects in the caller's thread. |
class |
SingleThreadEventExecutor
Abstract base class for
OrderedEventExecutor's that execute all its submitted tasks in a single thread. |
class |
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. |
| Modifier and Type | Method and Description |
|---|---|
protected EventExecutor |
CompleteFuture.executor()
Return the
EventExecutor which is used by this CompleteFuture. |
protected EventExecutor |
DefaultPromise.executor()
Get the executor used to notify listeners when this promise is complete.
|
protected EventExecutor |
DefaultEventExecutorGroup.newChild(ThreadFactory threadFactory,
Object... args) |
protected abstract EventExecutor |
MultithreadEventExecutorGroup.newChild(ThreadFactory threadFactory,
Object... args)
Create a new EventExecutor which will later then accessible via the
MultithreadEventExecutorGroup.next() method. |
EventExecutor |
UnorderedThreadPoolEventExecutor.next() |
EventExecutor |
AbstractEventExecutor.next() |
EventExecutor |
EventExecutor.next()
Returns a reference to itself.
|
EventExecutor |
MultithreadEventExecutorGroup.next() |
EventExecutor |
EventExecutorGroup.next()
Returns one of the
EventExecutors that belong to this group. |
| Modifier and Type | Method and Description |
|---|---|
protected Set<EventExecutor> |
MultithreadEventExecutorGroup.children()
Return a safe-copy of all of the children of this group.
|
Iterator<EventExecutor> |
UnorderedThreadPoolEventExecutor.iterator() |
Iterator<EventExecutor> |
AbstractEventExecutor.iterator() |
Iterator<EventExecutor> |
MultithreadEventExecutorGroup.iterator() |
Iterator<EventExecutor> |
EventExecutorGroup.iterator()
Returns a read-only
Iterator over all EventExecutor, which are handled by this
EventExecutorGroup at the time of invoke this method. |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
DefaultPromise.notifyListener(EventExecutor eventExecutor,
Future<?> future,
GenericFutureListener<?> listener)
Notify a listener that a future has completed.
|
| Constructor and Description |
|---|
CompleteFuture(EventExecutor executor)
Creates a new instance.
|
DefaultProgressivePromise(EventExecutor executor)
Creates a new instance.
|
DefaultPromise(EventExecutor executor)
Creates a new instance.
|
FailedFuture(EventExecutor executor,
Throwable cause)
Creates a new instance.
|
SucceededFuture(EventExecutor executor,
V result)
Creates a new instance.
|
Copyright © 2008–2017 The Netty Project. All rights reserved.