程序包 | 说明 |
---|---|
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.
|
限定符和类型 | 类和说明 |
---|---|
class |
MultithreadEventLoopGroup
Abstract base class for
EventLoopGroup implementations that handles their tasks with multiple threads at
the same time. |
限定符和类型 | 类和说明 |
---|---|
class |
EpollEventLoopGroup
EventLoopGroup which uses epoll under the covers. |
限定符和类型 | 类和说明 |
---|---|
class |
LocalEventLoopGroup
MultithreadEventLoopGroup which must be used for the local transport. |
限定符和类型 | 类和说明 |
---|---|
class |
NioEventLoopGroup
|
限定符和类型 | 类和说明 |
---|---|
class |
DefaultEventExecutorGroup
Default implementation of
MultithreadEventExecutorGroup which will use DefaultEventExecutor instances
to handle the tasks. |