| 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. |
| 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 |
SingleThreadEventExecutor
Abstract base class for
EventExecutor's that execute all its submitted tasks in a single thread. |
| Modifier and Type | Method and Description |
|---|---|
EventExecutorGroup |
EventExecutor.parent()
Return the
EventExecutorGroup which is the parent of this EventExecutor, |
EventExecutorGroup |
AbstractEventExecutor.parent() |
| Constructor and Description |
|---|
AbstractEventExecutor(EventExecutorGroup parent) |
AbstractScheduledEventExecutor(EventExecutorGroup parent) |
DefaultEventExecutor(EventExecutorGroup parent) |
DefaultEventExecutor(EventExecutorGroup parent,
Executor executor) |
DefaultEventExecutor(EventExecutorGroup parent,
ThreadFactory threadFactory) |
SingleThreadEventExecutor(EventExecutorGroup parent,
Executor executor,
boolean addTaskWakesUp)
Create a new instance
|
SingleThreadEventExecutor(EventExecutorGroup parent,
ThreadFactory threadFactory,
boolean addTaskWakesUp)
Create a new instance
|
Copyright © 2008–2016 The Netty Project. All rights reserved.