Class NioWorkerPool
- java.lang.Object
-
- org.jboss.netty.channel.socket.nio.AbstractNioWorkerPool<NioWorker>
-
- org.jboss.netty.channel.socket.nio.NioWorkerPool
-
- All Implemented Interfaces:
NioSelectorPool
,WorkerPool<NioWorker>
,ExternalResourceReleasable
public class NioWorkerPool extends AbstractNioWorkerPool<NioWorker>
Default implementation which hands ofNioWorker
's
-
-
Constructor Summary
Constructors Constructor Description NioWorkerPool(Executor workerExecutor, int workerCount)
NioWorkerPool(Executor workerExecutor, int workerCount, ThreadNameDeterminer determiner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NioWorker
newWorker(Executor executor)
-
Methods inherited from class org.jboss.netty.channel.socket.nio.AbstractNioWorkerPool
init, nextWorker, rebuildSelectors, releaseExternalResources, shutdown
-
-
-
-
Constructor Detail
-
NioWorkerPool
public NioWorkerPool(Executor workerExecutor, int workerCount)
-
NioWorkerPool
public NioWorkerPool(Executor workerExecutor, int workerCount, ThreadNameDeterminer determiner)
-
-
Method Detail
-
newWorker
protected NioWorker newWorker(Executor executor)
Description copied from class:AbstractNioWorkerPool
- Specified by:
newWorker
in classAbstractNioWorkerPool<NioWorker>
- Parameters:
executor
- theExecutor
to use- Returns:
- worker the new
Worker
-
-