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