程序包 | 说明 |
---|---|
org.jboss.netty.channel.socket.nio |
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
|
限定符和类型 | 接口和说明 |
---|---|
interface |
BossPool<E extends Boss>
A Pool that holds
Boss instances |
interface |
WorkerPool<E extends Worker>
The
WorkerPool is responsible to hand of Worker 's on demand |
限定符和类型 | 类和说明 |
---|---|
class |
AbstractNioBossPool<E extends Boss> |
class |
AbstractNioWorkerPool<E extends org.jboss.netty.channel.socket.nio.AbstractNioWorker>
Abstract base class for
WorkerPool implementations that create the Worker 's
up-front and return them in a "fair" fashion when calling AbstractNioWorkerPool.nextWorker() |
class |
NioClientBossPool
Holds
NioClientBoss instances to use |
class |
NioDatagramWorkerPool
Default implementation which hands of
NioDatagramWorker 's |
class |
NioServerBossPool
Holds
NioServerBoss instances to use |
class |
NioWorkerPool
Default implementation which hands of
NioWorker 's |
class |
ShareableWorkerPool<E extends Worker>
This implementation of a
WorkerPool should be used if you plan to share a
WorkerPool between different Factories. |