public class NioWorkerPool extends AbstractNioWorkerPool<NioWorker>
NioWorker
'sConstructor and Description |
---|
NioWorkerPool(Executor executor,
int workerCount,
boolean allowShutdownOnIdle) |
Modifier and Type | Method and Description |
---|---|
protected NioWorker |
createWorker(Executor executor,
boolean allowShutdownOnIdle)
|
nextWorker, releaseExternalResources
public NioWorkerPool(Executor executor, int workerCount, boolean allowShutdownOnIdle)
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.