| 程序包 | 说明 | 
|---|---|
| org.jboss.netty.channel.socket.nio | 
 NIO-based socket channel
 API implementation - recommended for a large number of connections (>= 1000). 
 | 
| 限定符和类型 | 类和说明 | 
|---|---|
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  | 
NioDatagramWorkerPool
Default implementation which hands of  
NioDatagramWorker's | 
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. | 
| 构造器和说明 | 
|---|
NioClientSocketChannelFactory(BossPool<NioClientBoss> bossPool,
                             WorkerPool<NioWorker> workerPool)
Creates a new instance. 
 | 
NioClientSocketChannelFactory(java.util.concurrent.Executor bossExecutor,
                             int bossCount,
                             WorkerPool<NioWorker> workerPool)
Creates a new instance. 
 | 
NioClientSocketChannelFactory(java.util.concurrent.Executor bossExecutor,
                             int bossCount,
                             WorkerPool<NioWorker> workerPool,
                             Timer timer)
Creates a new instance. 
 | 
NioDatagramChannelFactory(WorkerPool<NioDatagramWorker> workerPool)
Creates a new instance. 
 | 
NioDatagramChannelFactory(WorkerPool<NioDatagramWorker> workerPool,
                         InternetProtocolFamily family)
Creates a new instance. 
 | 
NioServerSocketChannelFactory(BossPool<NioServerBoss> bossPool,
                             WorkerPool<NioWorker> workerPool)
Create a new instance. 
 | 
NioServerSocketChannelFactory(java.util.concurrent.Executor bossExecutor,
                             int bossCount,
                             WorkerPool<NioWorker> workerPool)
Create a new instance. 
 | 
NioServerSocketChannelFactory(java.util.concurrent.Executor bossExecutor,
                             WorkerPool<NioWorker> workerPool)
Creates a new instance. 
 | 
ShareableWorkerPool(WorkerPool<E> wrapped)  |