程序包 | 说明 |
---|---|
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).
|
限定符和类型 | 类和说明 |
---|---|
class |
DefaultEventLoop |
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. |