| Package | Description |
|---|---|
| io.netty.util.concurrent |
Utility classes for concurrent / async tasks.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEventExecutor
Abstract base class for
EventExecutor implementations. |
class |
GlobalEventExecutor
Single-thread singleton
EventExecutor. |
class |
ImmediateEventExecutor
AbstractEventExecutor which execute tasks in the callers thread. |
class |
SingleThreadEventExecutor
Abstract base class for
EventExecutor's that execute all its submitted tasks in a single thread. |
| Modifier and Type | Method and Description |
|---|---|
protected EventExecutor |
DefaultPromise.executor() |
protected EventExecutor |
CompleteFuture.executor()
Return the
EventExecutor which is used by this CompleteFuture. |
protected abstract EventExecutor |
MultithreadEventExecutorGroup.newChild(ThreadFactory threadFactory,
Object... args)
Create a new EventExecutor which will later then accessible via the
MultithreadEventExecutorGroup.next() method. |
protected EventExecutor |
DefaultEventExecutorGroup.newChild(ThreadFactory threadFactory,
Object... args) |
EventExecutor |
EventExecutor.next()
Returns a reference to itself.
|
EventExecutor |
EventExecutorGroup.next()
Returns one of the
EventExecutors that belong to this group. |
EventExecutor |
MultithreadEventExecutorGroup.next() |
EventExecutor |
AbstractEventExecutor.next() |
| 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> |
EventExecutorGroup.iterator()
Returns a read-only
Iterator over all EventExecutor, which are handled by this
EventExecutorGroup at the time of invoke this method. |
Iterator<EventExecutor> |
MultithreadEventExecutorGroup.iterator() |
Iterator<EventExecutor> |
AbstractEventExecutor.iterator() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
DefaultPromise.notifyListener(EventExecutor eventExecutor,
Future<?> future,
GenericFutureListener<?> l) |
| 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–2014 The Netty Project. All rights reserved.