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.embedded |
A virtual
Channel that helps wrapping a series of handlers to
unit test the handlers or use them in non-I/O context. |
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 |
EmbeddedEventLoop |
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 |
class |
GlobalEventExecutor
Single-thread singleton
EventExecutor . |
class |
SingleThreadEventExecutor
Abstract base class for
OrderedEventExecutor 's that execute all its submitted tasks in a single thread. |
Constructor and Description |
---|
ScheduledFutureTask(AbstractScheduledEventExecutor executor,
java.util.concurrent.Callable<V> callable,
long nanoTime) |
ScheduledFutureTask(AbstractScheduledEventExecutor executor,
java.util.concurrent.Callable<V> callable,
long nanoTime,
long period) |
ScheduledFutureTask(AbstractScheduledEventExecutor executor,
java.lang.Runnable runnable,
V result,
long nanoTime) |