MultiThreadIoEventLoopGroup with NioIoHandler.@Deprecated public class NioEventLoopGroup extends MultiThreadIoEventLoopGroup implements IoEventLoopGroup
| Constructor and Description |
|---|
NioEventLoopGroup()
Deprecated.
Create a new instance using the default number of threads, the default
ThreadFactory and
the SelectorProvider which is returned by SelectorProvider.provider(). |
NioEventLoopGroup(int nThreads)
Deprecated.
Create a new instance using the specified number of threads,
ThreadFactory and the
SelectorProvider which is returned by SelectorProvider.provider(). |
NioEventLoopGroup(int nThreads,
Executor executor)
Deprecated.
|
NioEventLoopGroup(int nThreads,
Executor executor,
io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory)
Deprecated.
|
NioEventLoopGroup(int nThreads,
Executor executor,
io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory,
io.netty.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler)
Deprecated.
|
NioEventLoopGroup(int nThreads,
Executor executor,
io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory,
io.netty.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler,
EventLoopTaskQueueFactory taskQueueFactory)
Deprecated.
|
NioEventLoopGroup(int nThreads,
Executor executor,
io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory,
io.netty.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler,
EventLoopTaskQueueFactory taskQueueFactory,
EventLoopTaskQueueFactory tailTaskQueueFactory)
Deprecated.
|
NioEventLoopGroup(int nThreads,
Executor executor,
SelectorProvider selectorProvider)
Deprecated.
|
NioEventLoopGroup(int nThreads,
Executor executor,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory)
Deprecated.
|
NioEventLoopGroup(int nThreads,
ThreadFactory threadFactory)
Deprecated.
Create a new instance using the specified number of threads, the given
ThreadFactory and the
SelectorProvider which is returned by SelectorProvider.provider(). |
NioEventLoopGroup(int nThreads,
ThreadFactory threadFactory,
SelectorProvider selectorProvider)
Deprecated.
Create a new instance using the specified number of threads, the given
ThreadFactory and the given
SelectorProvider. |
NioEventLoopGroup(int nThreads,
ThreadFactory threadFactory,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory)
Deprecated.
|
NioEventLoopGroup(ThreadFactory threadFactory)
Deprecated.
Create a new instance using the default number of threads, the given
ThreadFactory and the
SelectorProvider which is returned by SelectorProvider.provider(). |
| Modifier and Type | Method and Description |
|---|---|
protected IoEventLoop |
newChild(Executor executor,
IoHandler ioHandler,
Object... args)
Deprecated.
|
void |
rebuildSelectors()
Deprecated.
|
void |
setIoRatio(int ioRatio)
Deprecated.
|
newChild, nextnewDefaultThreadFactory, register, register, registerawaitTermination, executorCount, isShutdown, isShuttingDown, isTerminated, iterator, shutdown, shutdownGracefully, terminationFutureexecute, invokeAll, invokeAll, invokeAny, invokeAny, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdownGracefully, shutdownNow, submit, submit, submitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCompatible, isIoType, nextregister, register, registerisShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFutureawaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminatedforEach, spliteratorpublic NioEventLoopGroup()
ThreadFactory and
the SelectorProvider which is returned by SelectorProvider.provider().public NioEventLoopGroup(int nThreads)
ThreadFactory and the
SelectorProvider which is returned by SelectorProvider.provider().public NioEventLoopGroup(ThreadFactory threadFactory)
ThreadFactory and the
SelectorProvider which is returned by SelectorProvider.provider().public NioEventLoopGroup(int nThreads,
ThreadFactory threadFactory)
ThreadFactory and the
SelectorProvider which is returned by SelectorProvider.provider().public NioEventLoopGroup(int nThreads,
Executor executor)
public NioEventLoopGroup(int nThreads,
ThreadFactory threadFactory,
SelectorProvider selectorProvider)
ThreadFactory and the given
SelectorProvider.public NioEventLoopGroup(int nThreads,
ThreadFactory threadFactory,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory)
public NioEventLoopGroup(int nThreads,
Executor executor,
SelectorProvider selectorProvider)
public NioEventLoopGroup(int nThreads,
Executor executor,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory)
public NioEventLoopGroup(int nThreads,
Executor executor,
io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory)
public NioEventLoopGroup(int nThreads,
Executor executor,
io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory,
io.netty.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler)
public NioEventLoopGroup(int nThreads,
Executor executor,
io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory,
io.netty.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler,
EventLoopTaskQueueFactory taskQueueFactory)
public NioEventLoopGroup(int nThreads,
Executor executor,
io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory,
io.netty.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler,
EventLoopTaskQueueFactory taskQueueFactory,
EventLoopTaskQueueFactory tailTaskQueueFactory)
nThreads - the number of threads that will be used by this instance.executor - the Executor to use, or null if default one should be used.chooserFactory - the EventExecutorChooserFactory to use.selectorProvider - the SelectorProvider to use.selectStrategyFactory - the SelectStrategyFactory to use.rejectedExecutionHandler - the RejectedExecutionHandler to use.taskQueueFactory - the EventLoopTaskQueueFactory to use for
SingleThreadEventExecutor.execute(Runnable),
or null if default one should be used.tailTaskQueueFactory - the EventLoopTaskQueueFactory to use for
SingleThreadEventLoop.executeAfterEventLoopIteration(Runnable),
or null if default one should be used.@Deprecated public void setIoRatio(int ioRatio)
public void rebuildSelectors()
protected IoEventLoop newChild(Executor executor, IoHandler ioHandler, Object... args)
MultiThreadIoEventLoopGroupnewChild in class MultiThreadIoEventLoopGroupexecutor - the Executor that should be used to handle execution of tasks and IO.ioHandler - the IoHandler that should be used to handle IO.args - extra arguments that are based by the constructor.IoEventLoop.Copyright © 2008–2025 The Netty Project. All rights reserved.