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
SpecialEventExecutorGroupwhich allows registeringChannels 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 EventLoopnext()Return the nextEventLoopto useChannelFutureregister(Channel channel)ChannelFutureregister(ChannelPromise promise)ChannelFutureregister(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, ticker
-
-
-
-
Method Detail
-
next
EventLoop next()
Return the nextEventLoopto use- Specified by:
nextin interfaceEventExecutorGroup
-
register
ChannelFuture register(Channel channel)
Register aChannelwith thisEventLoop. The returnedChannelFuturewill get notified once the registration was complete.
-
register
ChannelFuture register(ChannelPromise promise)
Register aChannelwith thisEventLoopusing aChannelFuture. The passedChannelFuturewill 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 aChannelwith thisEventLoop. The passedChannelFuturewill get notified once the registration was complete and also will get returned.
-
-