public interface EventLoopGroup extends EventExecutorGroup
EventExecutorGroup
which allows registering Channel
s that get
processed for later selection during the event loop.Modifier and Type | Method and Description |
---|---|
EventLoop |
next()
Return the next
EventLoop to use |
ChannelFuture |
register(Channel channel)
|
ChannelFuture |
register(Channel channel,
ChannelPromise promise)
Deprecated.
Use
register(ChannelPromise) instead. |
ChannelFuture |
register(ChannelPromise promise)
|
isShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFuture
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated
forEach, spliterator
EventLoop next()
EventLoop
to usenext
in interface EventExecutorGroup
ChannelFuture register(Channel channel)
Channel
with this EventLoop
. The returned ChannelFuture
will get notified once the registration was complete.ChannelFuture register(ChannelPromise promise)
Channel
with this EventLoop
using a ChannelFuture
. The passed
ChannelFuture
will get notified once the registration was complete and also will get returned.@Deprecated ChannelFuture register(Channel channel, ChannelPromise promise)
register(ChannelPromise)
instead.Channel
with this EventLoop
. The passed ChannelFuture
will get notified once the registration was complete and also will get returned.Copyright © 2008–2017 The Netty Project. All rights reserved.