| Package | Description |
|---|---|
| io.netty.util.concurrent |
Utility classes for concurrent / async tasks.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
EventExecutor
The
EventExecutor is a special EventExecutorGroup which comes
with some handy methods to see if a Thread is executed in a event loop. |
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 |
AbstractEventExecutorGroup
Abstract base class for
EventExecutorGroup 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 |
DefaultEventExecutorGroup
Default implementation of
MultithreadEventExecutorGroup which will use DefaultEventExecutor instances
to handle the tasks. |
class |
GlobalEventExecutor
Single-thread singleton
EventExecutor. |
class |
ImmediateEventExecutor
Executes
Runnable objects in the caller's thread. |
class |
MultithreadEventExecutorGroup
Abstract base class for
EventExecutorGroup implementations that handles their tasks with multiple threads at
the same time. |
class |
NonStickyEventExecutorGroup
EventExecutorGroup which will preserve Runnable execution order but makes no guarantees about what
EventExecutor (and therefore Thread) will be used to execute the Runnables. |
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 |
|---|---|
EventExecutorGroup |
AbstractEventExecutor.parent() |
EventExecutorGroup |
UnorderedThreadPoolEventExecutor.parent() |
EventExecutorGroup |
EventExecutor.parent()
Return the
EventExecutorGroup which is the parent of this EventExecutor, |
Copyright © 2008–2019 The Netty Project. All rights reserved.