Uses of Interface
org.jboss.netty.channel.socket.nio.WorkerPool
-
Packages that use WorkerPool Package Description org.jboss.netty.channel.socket.nio NIO-based socket channel API implementation - recommended for a large number of connections (>= 1000). -
-
Uses of WorkerPool in org.jboss.netty.channel.socket.nio
Classes in org.jboss.netty.channel.socket.nio that implement WorkerPool Modifier and Type Class Description class
AbstractNioWorkerPool<E extends AbstractNioWorker>
Abstract base class forWorkerPool
implementations that create theWorker
's up-front and return them in a "fair" fashion when callingAbstractNioWorkerPool.nextWorker()
class
NioDatagramWorkerPool
Default implementation which hands ofNioDatagramWorker
'sclass
NioWorkerPool
Default implementation which hands ofNioWorker
'sclass
ShareableWorkerPool<E extends Worker>
This implementation of aWorkerPool
should be used if you plan to share aWorkerPool
between different Factories.Fields in org.jboss.netty.channel.socket.nio declared as WorkerPool Modifier and Type Field Description private WorkerPool<NioWorker>
NioClientSocketChannelFactory. workerPool
private WorkerPool<NioDatagramWorker>
NioDatagramChannelFactory. workerPool
private WorkerPool<NioDatagramWorker>
NioDatagramPipelineSink. workerPool
(package private) WorkerPool<NioWorker>
NioServerSocketChannel. workerPool
private WorkerPool<NioWorker>
NioServerSocketChannelFactory. workerPool
private WorkerPool<E>
ShareableWorkerPool. wrapped
Constructors in org.jboss.netty.channel.socket.nio with parameters of type WorkerPool Constructor Description 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.NioClientSocketChannelFactory(BossPool<NioClientBoss> bossPool, WorkerPool<NioWorker> workerPool)
Creates a new instance.NioDatagramChannelFactory(WorkerPool<NioDatagramWorker> workerPool)
Creates a new instance.NioDatagramChannelFactory(WorkerPool<NioDatagramWorker> workerPool, InternetProtocolFamily family)
Creates a new instance.NioDatagramPipelineSink(WorkerPool<NioDatagramWorker> workerPool)
Creates a newNioDatagramPipelineSink
with a the number ofNioDatagramWorker
s specified in workerCount.NioServerSocketChannel(ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, Boss boss, WorkerPool<NioWorker> workerPool)
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.NioServerSocketChannelFactory(BossPool<NioServerBoss> bossPool, WorkerPool<NioWorker> workerPool)
Create a new instance.ShareableWorkerPool(WorkerPool<E> wrapped)
-