Package io.netty.channel
Interface EventLoopGroup
-
- All Superinterfaces:
EventExecutorGroup
,java.util.concurrent.Executor
,java.util.concurrent.ExecutorService
,java.lang.Iterable<EventExecutor>
,java.util.concurrent.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
public interface EventLoopGroup extends EventExecutorGroup
SpecialEventExecutorGroup
which allows registeringChannel
s that get processed for later selection during the event loop.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description EventLoop
next()
Return the nextEventLoop
to useChannelFuture
register(Channel channel)
ChannelFuture
register(ChannelPromise promise)
ChannelFuture
register(Channel channel, ChannelPromise promise)
Deprecated.Useregister(ChannelPromise)
instead.-
Methods inherited from interface io.netty.util.concurrent.EventExecutorGroup
isShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFuture
-
-
-
-
Method Detail
-
next
EventLoop next()
Return the nextEventLoop
to use- Specified by:
next
in interfaceEventExecutorGroup
-
register
ChannelFuture register(Channel channel)
Register aChannel
with thisEventLoop
. The returnedChannelFuture
will get notified once the registration was complete.
-
register
ChannelFuture register(ChannelPromise promise)
Register aChannel
with thisEventLoop
using aChannelFuture
. The passedChannelFuture
will get notified once the registration was complete and also will get returned.
-
register
@Deprecated ChannelFuture register(Channel channel, ChannelPromise promise)
Deprecated.Useregister(ChannelPromise)
instead.Register aChannel
with thisEventLoop
. The passedChannelFuture
will get notified once the registration was complete and also will get returned.
-
-