public class DefaultEventExecutorGroup extends MultithreadEventExecutorGroup
MultithreadEventExecutorGroup which will use DefaultEventExecutor instances
to handle the tasks.| Constructor and Description |
|---|
DefaultEventExecutorGroup(int nThreads) |
DefaultEventExecutorGroup(int nThreads,
ThreadFactory threadFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected EventExecutor |
newChild(ThreadFactory threadFactory,
Object... args)
Create a new EventExecutor which will later then accessable via the
MultithreadEventExecutorGroup.next() method. |
awaitTermination, children, executorCount, isShutdown, isShuttingDown, isTerminated, iterator, newDefaultThreadFactory, next, shutdown, shutdownGracefully, terminationFutureexecute, invokeAll, invokeAll, invokeAny, invokeAny, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdownGracefully, shutdownNow, submit, submit, submitpublic DefaultEventExecutorGroup(int nThreads)
public DefaultEventExecutorGroup(int nThreads,
ThreadFactory threadFactory)
protected EventExecutor newChild(ThreadFactory threadFactory, Object... args) throws Exception
MultithreadEventExecutorGroupMultithreadEventExecutorGroup.next() method. This method will be
called for each thread that will serve this MultithreadEventExecutorGroup.newChild in class MultithreadEventExecutorGroupExceptionCopyright © 2008-2013 The Netty Project. All Rights Reserved.