Interface EventLoopGroup
- All Superinterfaces:
EventExecutorGroup, Executor, ExecutorService, Iterable<EventExecutor>, ScheduledExecutorService
- All Known Subinterfaces:
EventLoop, IoEventLoop, IoEventLoopGroup
- All Known Implementing Classes:
AbstractEventLoop, AbstractEventLoopGroup, DefaultEventLoop, DefaultEventLoopGroup, EpollEventLoop, EpollEventLoopGroup, KQueueEventLoopGroup, LocalEventLoopGroup, ManualIoEventLoop, MultithreadEventLoopGroup, MultiThreadIoEventLoopGroup, NioEventLoop, NioEventLoopGroup, OioEventLoopGroup, SingleThreadEventLoop, SingleThreadIoEventLoop, ThreadPerChannelEventLoop, ThreadPerChannelEventLoopGroup
Special
EventExecutorGroup which allows registering Channels that get
processed for later selection during the event loop.-
Method Summary
Modifier and TypeMethodDescriptionnext()Return the nextEventLoopto useregister(ChannelPromise promise) register(Channel channel, ChannelPromise promise) Deprecated.Methods inherited from interface EventExecutorGroup
isShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFuture, tickerMethods inherited from interface ExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminatedMethods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
next
EventLoop next()Return the nextEventLoopto use- Specified by:
nextin interfaceEventExecutorGroup
-
register
Register aChannelwith thisEventLoop. The returnedChannelFuturewill get notified once the registration was complete. -
register
Register aChannelwith thisEventLoopusing aChannelFuture. The passedChannelFuturewill get notified once the registration was complete and also will get returned. -
register
Deprecated.Useregister(ChannelPromise)instead.Register aChannelwith thisEventLoop. The passedChannelFuturewill get notified once the registration was complete and also will get returned.
-
register(ChannelPromise)instead.