| 程序包 | 说明 |
|---|---|
| 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.nio |
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
|
| io.netty.util.concurrent |
Benchmarks for
io.netty.util.concurrent. |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
EventLoop
Will handle all the I/O operations for a
Channel once registered. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractEventLoop
Skeletal implementation of
EventLoop. |
class |
DefaultEventLoop |
class |
SingleThreadEventLoop
Abstract base class for
EventLoops that execute all its submitted tasks in a single thread. |
class |
ThreadPerChannelEventLoop
已过时。
this will be remove in the next-major release.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
EpollEventLoop
EventLoop which uses epoll under the covers. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
NioEventLoop
SingleThreadEventLoop implementation which register the Channel's to a
Selector and so does the multi-plexing of these in the event loop. |
| 限定符和类型 | 类和说明 |
|---|---|
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. |