| Package | Description |
|---|---|
| io.netty.util.concurrent |
Utility classes for concurrent / async tasks.
|
| io.netty.util.internal |
Internal-use-only utilities which is not allowed to be used
outside Netty.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
PausableEventExecutor
Implement this interface if you need your
EventExecutor implementation to be able
to reject new work. |
interface |
WrappedEventExecutor
A marker interface indicating that the
EventExecutor is a wrapper around
another EventExecutor implementation. |
| 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 |
DefaultEventExecutor
Default
SingleThreadEventExecutor implementation which just execute all submitted task in a
serial fashion. |
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 |
|---|---|
<E extends EventExecutor> |
EventExecutor.children()
Returns an unmodifiable singleton set which contains itself.
|
<E extends EventExecutor> |
MultithreadEventExecutorGroup.children() |
<E extends EventExecutor> |
AbstractEventExecutor.children() |
<E extends EventExecutor> |
EventExecutorGroup.children()
Returns the unmodifiable set of
EventExecutors managed by this EventExecutorGroup. |
| Modifier and Type | Method and Description |
|---|---|
protected EventExecutor |
CompleteFuture.executor()
Return the
EventExecutor which is used by this CompleteFuture. |
protected EventExecutor |
DefaultPromise.executor() |
protected EventExecutor |
DefaultEventExecutorGroup.newChild(Executor executor,
Object... args) |
protected abstract EventExecutor |
MultithreadEventExecutorGroup.newChild(Executor executor,
Object... args)
Create a new EventExecutor which will later then accessible via the
MultithreadEventExecutorGroup.next() method. |
EventExecutor |
EventExecutor.next()
Returns a reference to itself.
|
EventExecutor |
MultithreadEventExecutorGroup.next() |
EventExecutor |
AbstractEventExecutor.next() |
EventExecutor |
EventExecutorGroup.next()
Returns one of the
EventExecutors managed by this EventExecutorGroup. |
EventExecutor |
EventExecutor.unwrap()
Returns an
EventExecutor that is not a WrappedEventExecutor. |
EventExecutor |
AbstractEventExecutor.unwrap() |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
EventExecutor |
RunnableEventExecutorAdapter.executor() |
EventExecutor |
CallableEventExecutorAdapter.executor()
Returns the wrapped
EventExecutor. |
Copyright © 2008–2015 The Netty Project. All rights reserved.