public interface EventLoopGroup
extends io.netty.util.concurrent.EventExecutorGroup
EventExecutorGroup which allows registering Channels that get
processed for later selection during the event loop.| Modifier and Type | Method and Description |
|---|---|
EventLoop |
next() |
ChannelFuture |
register(Channel channel)
|
ChannelFuture |
register(Channel channel,
ChannelPromise promise)
|
children, isShuttingDown, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFutureawaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminatedcloseEventLoop next()
next in interface io.netty.util.concurrent.EventExecutorGroupChannelFuture register(Channel channel)
Channel with an EventLoop from this EventLoopGroup. The returned
ChannelFuture will get notified once the registration is completed.
It's only safe to submit a new task to the EventLoop from within a
ChannelHandler once the ChannelPromise succeeded. Otherwise
the task may or may not be rejected.
ChannelFuture register(Channel channel, ChannelPromise promise)
Channel with an EventLoop from this EventLoopGroup. The provided
ChannelPromise will get notified once the registration is completed. The returned ChannelFuture
is the same ChannelPromise that was passed to the method.
It's only safe to submit a new task to the EventLoop from within a
ChannelHandler once the ChannelPromise succeeded. Otherwise
the task may or may not be rejected.
Copyright © 2008–2015 The Netty Project. All rights reserved.