Package | Description |
---|---|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
io.netty.channel.epoll |
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
|
io.netty.channel.local |
A virtual transport that enables the communication between the two
parties in the same virtual machine.
|
io.netty.channel.nio |
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
|
io.netty.util.concurrent |
Utility classes for concurrent / async tasks.
|
Modifier and Type | Class and Description |
---|---|
class |
SingleThreadEventLoop
Abstract base class for
EventLoop 's that execute all its submitted tasks in a single thread. |
class |
ThreadPerChannelEventLoop
SingleThreadEventLoop which is used to handle OIO Channel 's. |
Modifier and Type | Class and Description |
---|---|
(package private) class |
EpollEventLoop
EventLoop which uses epoll under the covers. |
Modifier and Type | Class and Description |
---|---|
(package private) class |
LocalEventLoop |
Modifier and Type | Class and Description |
---|---|
class |
NioEventLoop
SingleThreadEventLoop implementation which register the Channel 's to a
Selector and so does the multi-plexing of these in the event loop. |
Modifier and Type | Class and Description |
---|---|
(package private) class |
DefaultEventExecutor
Default
SingleThreadEventExecutor implementation which just execute all submitted task in a
serial fashion |
Modifier and Type | Field and Description |
---|---|
private static java.util.concurrent.atomic.AtomicIntegerFieldUpdater<SingleThreadEventExecutor> |
SingleThreadEventExecutor.STATE_UPDATER |
Modifier and Type | Method and Description |
---|---|
void |
RejectedExecutionHandler.rejected(java.lang.Runnable task,
SingleThreadEventExecutor executor)
Called when someone tried to add a task to
SingleThreadEventExecutor but this failed due capacity
restrictions. |