public class NioWorkerPool extends AbstractNioWorkerPool<NioWorker>
NioWorker
'sConstructor and Description |
---|
NioWorkerPool(Executor workerExecutor,
int workerCount) |
NioWorkerPool(Executor executor,
int workerCount,
boolean allowShutdownOnIdle)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected NioWorker |
createWorker(Executor executor,
boolean allowShutdownOnIdle)
|
createWorker, nextWorker, releaseExternalResources
public NioWorkerPool(Executor executor, int workerCount, boolean allowShutdownOnIdle)
NioWorkerPool(Executor, int)
public NioWorkerPool(Executor workerExecutor, int workerCount)
protected NioWorker createWorker(Executor executor, boolean allowShutdownOnIdle)
AbstractNioWorkerPool
createWorker
in class AbstractNioWorkerPool<NioWorker>
executor
- the Executor
to useallowShutdownOnIdle
- allow the Worker
to shutdown when there is not
Channel
is registered with itWorker
Copyright © 2008-2012 The Netty Project. All Rights Reserved.