| Access | Constructor and Description |
|---|---|
| public | NioEventLoopGroup()
Create a new instance using the default number of threads, the default |
| public | NioEventLoopGroup(int nThreads)
Create a new instance using the specified number of threads, |
| public | NioEventLoopGroup(ThreadFactory threadFactory)
Create a new instance using the default number of threads, the given |
| public | NioEventLoopGroup(int nThreads, ThreadFactory threadFactory)
Create a new instance using the specified number of threads, the given |
| public | |
| public | NioEventLoopGroup(int nThreads, ThreadFactory threadFactory, final SelectorProvider selectorProvider)
Create a new instance using the specified number of threads, the given |
| public | NioEventLoopGroup(int nThreads, ThreadFactory threadFactory, final SelectorProvider selectorProvider, final SelectStrategyFactory selectStrategyFactory)
|
| public | |
| public | NioEventLoopGroup(int nThreads, Executor executor, final SelectorProvider selectorProvider, final SelectStrategyFactory selectStrategyFactory)
|
| public | NioEventLoopGroup(int nThreads, Executor executor, EventExecutorChooserFactory chooserFactory, final SelectorProvider selectorProvider, final SelectStrategyFactory selectStrategyFactory)
|
| public | NioEventLoopGroup(int nThreads, Executor executor, EventExecutorChooserFactory chooserFactory, final SelectorProvider selectorProvider, final SelectStrategyFactory selectStrategyFactory, final RejectedExecutionHandler rejectedExecutionHandler)
|
| public | NioEventLoopGroup(int nThreads, Executor executor, EventExecutorChooserFactory chooserFactory, final SelectorProvider selectorProvider, final SelectStrategyFactory selectStrategyFactory, final RejectedExecutionHandler rejectedExecutionHandler, final EventLoopTaskQueueFactory taskQueueFactory)
|
| public | NioEventLoopGroup(int
the number of threads that will be used by this instance. nThreads, Executor the Executor to use, or executor, EventExecutorChooserFactory null if default one should be used.the chooserFactory, SelectorProvider EventExecutorChooserFactory to use.the selectorProvider, SelectStrategyFactory SelectorProvider to use.the selectStrategyFactory, RejectedExecutionHandler SelectStrategyFactory to use.the rejectedExecutionHandler, EventLoopTaskQueueFactory RejectedExecutionHandler to use.the taskQueueFactory, EventLoopTaskQueueFactory EventLoopTaskQueueFactory to use for
SingleThreadEventLoop#execute(Runnable),
or null if default one should be used.the tailTaskQueueFactory)EventLoopTaskQueueFactory to use for
SingleThreadEventLoop#executeAfterEventLoopIteration(Runnable),
or null if default one should be used.
|
| Modifier and Type | Method and Description |
|---|---|
| protected EventLoop | newChild(Executor executor, Object... args)
Implements abstract io. next() method.
|
| public void | rebuildSelectors()
Replaces the current |
| public void | setIoRatio(int ioRatio)
Sets the percentage of the desired amount of time spent for I/O in the child event loops. |
| NioEventLoopGroup | back to summary |
|---|---|
| public NioEventLoopGroup() Create a new instance using the default number of threads, the default | |
| NioEventLoopGroup | back to summary |
|---|---|
| public NioEventLoopGroup(int nThreads) Create a new instance using the specified number of threads, | |
| NioEventLoopGroup | back to summary |
|---|---|
| public NioEventLoopGroup(ThreadFactory threadFactory) Create a new instance using the default number of threads, the given | |
| NioEventLoopGroup | back to summary |
|---|---|
| public NioEventLoopGroup(int nThreads, ThreadFactory threadFactory) Create a new instance using the specified number of threads, the given | |
| NioEventLoopGroup | back to summary |
|---|---|
| public NioEventLoopGroup(int nThreads, Executor executor) | |
| NioEventLoopGroup | back to summary |
|---|---|
| public NioEventLoopGroup(int nThreads, ThreadFactory threadFactory, final SelectorProvider selectorProvider) Create a new instance using the specified number of threads, the given | |
| NioEventLoopGroup | back to summary |
|---|---|
| public NioEventLoopGroup(int nThreads, ThreadFactory threadFactory, final SelectorProvider selectorProvider, final SelectStrategyFactory selectStrategyFactory) | |
| NioEventLoopGroup | back to summary |
|---|---|
| public NioEventLoopGroup(int nThreads, Executor executor, final SelectorProvider selectorProvider) | |
| NioEventLoopGroup | back to summary |
|---|---|
| public NioEventLoopGroup(int nThreads, Executor executor, final SelectorProvider selectorProvider, final SelectStrategyFactory selectStrategyFactory) | |
| NioEventLoopGroup | back to summary |
|---|---|
| public NioEventLoopGroup(int nThreads, Executor executor, EventExecutorChooserFactory chooserFactory, final SelectorProvider selectorProvider, final SelectStrategyFactory selectStrategyFactory) | |
| NioEventLoopGroup | back to summary |
|---|---|
| public NioEventLoopGroup(int nThreads, Executor executor, EventExecutorChooserFactory chooserFactory, final SelectorProvider selectorProvider, final SelectStrategyFactory selectStrategyFactory, final RejectedExecutionHandler rejectedExecutionHandler) | |
| NioEventLoopGroup | back to summary |
|---|---|
| public NioEventLoopGroup(int nThreads, Executor executor, EventExecutorChooserFactory chooserFactory, final SelectorProvider selectorProvider, final SelectStrategyFactory selectStrategyFactory, final RejectedExecutionHandler rejectedExecutionHandler, final EventLoopTaskQueueFactory taskQueueFactory) | |
| NioEventLoopGroup | back to summary |
|---|---|
public NioEventLoopGroup(int nThreads, Executor executor, EventExecutorChooserFactory chooserFactory, SelectorProvider selectorProvider, SelectStrategyFactory selectStrategyFactory, RejectedExecutionHandler rejectedExecutionHandler, EventLoopTaskQueueFactory taskQueueFactory, EventLoopTaskQueueFactory tailTaskQueueFactory)
| |
| 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
| |
| rebuildSelectors | back to summary |
|---|---|
| public void rebuildSelectors() Replaces the current | |
| setIoRatio | back to summary |
|---|---|
| public void setIoRatio(int ioRatio) Sets the percentage of the desired amount of time spent for I/O in the child event loops. The default value is
| |