public interface EventLoopGroup extends EventExecutorGroup
EventExecutorGroup which allows registering Channels that get
processed for later selection during the event loop.| 限定符和类型 | 方法和说明 |
|---|---|
EventLoop |
next()
Return the next
EventLoop to use |
ChannelFuture |
register(Channel channel)
|
ChannelFuture |
register(Channel channel,
ChannelPromise promise)
已过时。
Use
register(ChannelPromise) instead. |
ChannelFuture |
register(ChannelPromise promise)
|
isShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFutureEventLoop next()
EventLoop to usenext 在接口中 EventExecutorGroupChannelFuture 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.