程序包 | 说明 |
---|---|
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.kqueue |
BSD specific transport.
|
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).
|
限定符和类型 | 类和说明 |
---|---|
class |
DefaultEventLoopGroup
MultithreadEventLoopGroup which must be used for the local transport. |
限定符和类型 | 类和说明 |
---|---|
class |
EpollEventLoopGroup
EventLoopGroup which uses epoll under the covers. |
限定符和类型 | 类和说明 |
---|---|
class |
KQueueEventLoopGroup |
限定符和类型 | 类和说明 |
---|---|
class |
LocalEventLoopGroup
已过时。
Use
DefaultEventLoopGroup instead. |
限定符和类型 | 类和说明 |
---|---|
class |
NioEventLoopGroup
|