public abstract class MultithreadEventLoopGroup extends io.netty.util.concurrent.MultithreadEventExecutorGroup implements EventLoopGroup
EventLoopGroup implementations that handles their tasks with multiple threads at
the same time.| Modifier | Constructor and Description |
|---|---|
protected |
MultithreadEventLoopGroup(int nThreads,
Executor executor,
io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
Object... args) |
protected |
MultithreadEventLoopGroup(int nThreads,
Executor executor,
Object... args) |
protected |
MultithreadEventLoopGroup(int nThreads,
ThreadFactory threadFactory,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract EventLoop |
newChild(Executor executor,
Object... args) |
protected ThreadFactory |
newDefaultThreadFactory() |
EventLoop |
next()
Return the next
EventLoop to use |
ChannelFuture |
register(Channel channel)
|
ChannelFuture |
register(Channel channel,
ChannelPromise promise)
Deprecated.
|
ChannelFuture |
register(ChannelPromise promise)
|
awaitTermination, 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, waitisShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFutureawaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminatedforEach, spliteratorprotected MultithreadEventLoopGroup(int nThreads,
Executor executor,
Object... args)
MultithreadEventExecutorGroup(int, Executor, Object...)protected MultithreadEventLoopGroup(int nThreads,
ThreadFactory threadFactory,
Object... args)
MultithreadEventExecutorGroup(int, ThreadFactory, Object...)protected ThreadFactory newDefaultThreadFactory()
newDefaultThreadFactory in class io.netty.util.concurrent.MultithreadEventExecutorGrouppublic EventLoop next()
EventLoopGroupEventLoop to usenext in interface EventLoopGroupnext in interface io.netty.util.concurrent.EventExecutorGroupnext in class io.netty.util.concurrent.MultithreadEventExecutorGroupprotected abstract EventLoop newChild(Executor executor, Object... args) throws Exception
newChild in class io.netty.util.concurrent.MultithreadEventExecutorGroupExceptionpublic ChannelFuture register(Channel channel)
EventLoopGroupChannel with this EventLoop. The returned ChannelFuture
will get notified once the registration was complete.register in interface EventLoopGrouppublic ChannelFuture register(ChannelPromise promise)
EventLoopGroupChannel with this EventLoop using a ChannelFuture. The passed
ChannelFuture will get notified once the registration was complete and also will get returned.register in interface EventLoopGroup@Deprecated public ChannelFuture register(Channel channel, ChannelPromise promise)
EventLoopGroupChannel with this EventLoop. The passed ChannelFuture
will get notified once the registration was complete and also will get returned.register in interface EventLoopGroupCopyright © 2008–2025 The Netty Project. All rights reserved.