MultithreadEventLoopGroup which must be used for the local transport.
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | DefaultEventLoopGroup(ThreadFactory
the threadFactory)ThreadFactory or null to use the defaultCreate a new instance with the default number of threads and the given |
| public | DefaultEventLoopGroup(int
the number of threads to use nThreads, ThreadFactory the threadFactory)ThreadFactory or null to use the defaultCreate a new instance |
| public | DefaultEventLoopGroup(int
the number of threads to use nThreads, Executor the Executor to use, or executor)null if the default should be used.Create a new instance |
| Modifier and Type | Method and Description |
|---|---|
| protected EventLoop | newChild(Executor executor, Object... args)
Implements abstract io. next() method.
|
| DefaultEventLoopGroup | back to summary |
|---|---|
| public DefaultEventLoopGroup() Create a new instance with the default number of threads. | |
| DefaultEventLoopGroup | back to summary |
|---|---|
| public DefaultEventLoopGroup(int nThreads) Create a new instance
| |
| DefaultEventLoopGroup | back to summary |
|---|---|
| public DefaultEventLoopGroup(ThreadFactory threadFactory) Create a new instance with the default number of threads and the given
| |
| DefaultEventLoopGroup | back to summary |
|---|---|
| public DefaultEventLoopGroup(int nThreads, ThreadFactory threadFactory) Create a new instance
| |
| DefaultEventLoopGroup | back to summary |
|---|---|
| public DefaultEventLoopGroup(int nThreads, Executor executor) Create a new instance
| |
| newChild | back to summary |
|---|---|
| protected EventLoop newChild(Executor executor, Object... args) throws Exception Implements abstract io. Doc from io. Create a new EventExecutor which will later then accessible via the
| |