MultithreadEventExecutorGroup
which will use DefaultEventExecutor
instances
to handle the tasks.
Access | Constructor and Description |
---|---|
public | |
public | DefaultEventExecutorGroup(int
the number of threads that will be used by this instance. nThreads, ThreadFactory the ThreadFactory to use, or threadFactory)null if the default should be used.Create a new instance. |
public | DefaultEventExecutorGroup(int
the number of threads that will be used by this instance. nThreads, ThreadFactory the ThreadFactory to use, or threadFactory, int null if the default should be used.the maximum number of pending tasks before new tasks will be rejected. maxPendingTasks, RejectedExecutionHandler the rejectedHandler)RejectedExecutionHandler to use.Create a new instance. |
Modifier and Type | Method and Description |
---|---|
protected EventExecutor | newChild(Executor executor, Object... args)
Implements abstract io. next() method.
|
DefaultEventExecutorGroup | back to summary |
---|---|
public DefaultEventExecutorGroup(int nThreads) |
DefaultEventExecutorGroup | back to summary |
---|---|
public DefaultEventExecutorGroup(int nThreads, ThreadFactory threadFactory) Create a new instance.
|
DefaultEventExecutorGroup | back to summary |
---|---|
public DefaultEventExecutorGroup(int nThreads, ThreadFactory threadFactory, int maxPendingTasks, RejectedExecutionHandler rejectedHandler) Create a new instance.
|
newChild | back to summary |
---|---|
protected EventExecutor newChild(Executor executor, Object... args) throws Exception Implements abstract io. Doc from io. Create a new EventExecutor which will later then accessible via the
|