Package io.netty.channel
Interface EventLoopGroup
- All Superinterfaces:
AutoCloseable
,EventExecutorGroup
,Executor
,ExecutorService
,Iterable<EventExecutor>
,ScheduledExecutorService
- All Known Subinterfaces:
EventLoop
- All Known Implementing Classes:
AbstractEventLoop
,AbstractEventLoopGroup
,DefaultEventLoop
,DefaultEventLoopGroup
,EmbeddedEventLoop
,EpollEventLoop
,EpollEventLoopGroup
,KQueueEventLoop
,KQueueEventLoopGroup
,LocalEventLoopGroup
,MultithreadEventLoopGroup
,NioEventLoop
,NioEventLoopGroup
,OioEventLoopGroup
,SingleThreadEventLoop
,ThreadPerChannelEventLoop
,ThreadPerChannelEventLoopGroup
Special
EventExecutorGroup
which allows registering Channel
s that get
processed for later selection during the event loop.-
Method Summary
Modifier and TypeMethodDescriptionnext()
Return the nextEventLoop
to useregister
(ChannelPromise promise) register
(Channel channel, ChannelPromise promise) Deprecated.Methods inherited from interface io.netty.util.concurrent.EventExecutorGroup
isShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFuture
Methods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, close, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
next
EventLoop next()Return the nextEventLoop
to use- Specified by:
next
in interfaceEventExecutorGroup
-
register
Register aChannel
with thisEventLoop
. The returnedChannelFuture
will get notified once the registration was complete. -
register
Register aChannel
with thisEventLoop
using aChannelFuture
. The passedChannelFuture
will get notified once the registration was complete and also will get returned. -
register
Deprecated.Useregister(ChannelPromise)
instead.Register aChannel
with thisEventLoop
. The passedChannelFuture
will get notified once the registration was complete and also will get returned.
-
register(ChannelPromise)
instead.