public class NioDatagramWorkerPool extends AbstractNioWorkerPool<NioDatagramWorker>
NioDatagramWorker's| Constructor and Description |
|---|
NioDatagramWorkerPool(java.util.concurrent.Executor executor,
int workerCount) |
| Modifier and Type | Method and Description |
|---|---|
protected NioDatagramWorker |
newWorker(java.util.concurrent.Executor executor)
Create a new
Worker which uses the given Executor to service IO. |
init, nextWorker, rebuildSelectors, releaseExternalResources, shutdownpublic NioDatagramWorkerPool(java.util.concurrent.Executor executor,
int workerCount)
protected NioDatagramWorker newWorker(java.util.concurrent.Executor executor)
AbstractNioWorkerPoolWorker which uses the given Executor to service IO.newWorker in class AbstractNioWorkerPool<NioDatagramWorker>executor - the Executor to useWorker