Uses of Interface
org.jboss.netty.channel.socket.nio.WorkerPool
Packages that use WorkerPool
Package
Description
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 WorkerPoolModifier and TypeClassDescriptionclass
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
Default implementation which hands ofNioDatagramWorker
'sclass
Default implementation which hands ofNioWorker
'sfinal class
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 WorkerPoolModifier and TypeFieldDescriptionprivate final WorkerPool
<NioWorker> NioClientSocketChannelFactory.workerPool
private final WorkerPool
<NioDatagramWorker> NioDatagramChannelFactory.workerPool
private final WorkerPool
<NioDatagramWorker> NioDatagramPipelineSink.workerPool
(package private) final WorkerPool
<NioWorker> NioServerSocketChannel.workerPool
private final WorkerPool
<NioWorker> NioServerSocketChannelFactory.workerPool
private final WorkerPool
<E> ShareableWorkerPool.wrapped
Constructors in org.jboss.netty.channel.socket.nio with parameters of type WorkerPoolModifierConstructorDescriptionNioClientSocketChannelFactory
(Executor bossExecutor, int bossCount, WorkerPool<NioWorker> workerPool) Creates a new instance.NioClientSocketChannelFactory
(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.(package private)
NioDatagramPipelineSink
(WorkerPool<NioDatagramWorker> workerPool) Creates a newNioDatagramPipelineSink
with a the number ofNioDatagramWorker
s specified in workerCount.(package private)
NioServerSocketChannel
(ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, Boss boss, WorkerPool<NioWorker> workerPool) NioServerSocketChannelFactory
(Executor bossExecutor, int bossCount, WorkerPool<NioWorker> workerPool) Create a new instance.NioServerSocketChannelFactory
(Executor bossExecutor, WorkerPool<NioWorker> workerPool) Creates a new instance.NioServerSocketChannelFactory
(BossPool<NioServerBoss> bossPool, WorkerPool<NioWorker> workerPool) Create a new instance.ShareableWorkerPool
(WorkerPool<E> wrapped)