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
Default implementation which hands of
NioWorker's-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNioWorkerPool(Executor workerExecutor, int workerCount) NioWorkerPool(Executor workerExecutor, int workerCount, ThreadNameDeterminer determiner) -
Method Summary
Methods inherited from class AbstractNioWorkerPool
init, nextWorker, rebuildSelectors, releaseExternalResources, shutdown
-
Field Details
-
determiner
-
-
Constructor Details
-
NioWorkerPool
-
NioWorkerPool
-
-
Method Details
-
newWorker
Description copied from class:AbstractNioWorkerPool- Specified by:
newWorkerin classAbstractNioWorkerPool<NioWorker>- Parameters:
executor- theExecutorto use- Returns:
- worker the new
Worker
-