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 org.jboss.netty.channel.socket.nio.AbstractNioWorkerPool
init, nextWorker, rebuildSelectors, releaseExternalResources, shutdown
-
Field Details
-
determiner
-
-
Constructor Details
-
NioWorkerPool
-
NioWorkerPool
-
-
Method Details
-
newWorker
Description copied from class:AbstractNioWorkerPool
- Specified by:
newWorker
in classAbstractNioWorkerPool<NioWorker>
- Parameters:
executor
- theExecutor
to use- Returns:
- worker the new
Worker
-