Package io.netty.channel
Interface IoEventLoopGroup
-
- All Superinterfaces:
EventExecutorGroup,EventLoopGroup,java.util.concurrent.Executor,java.util.concurrent.ExecutorService,java.lang.Iterable<EventExecutor>,java.util.concurrent.ScheduledExecutorService
- All Known Subinterfaces:
IoEventLoop
- All Known Implementing Classes:
EpollEventLoop,EpollEventLoopGroup,KQueueEventLoopGroup,LocalEventLoopGroup,ManualIoEventLoop,MultiThreadIoEventLoopGroup,NioEventLoop,NioEventLoopGroup,SingleThreadIoEventLoop
public interface IoEventLoopGroup extends EventLoopGroup
EventLoopGroupforIoEventLoops.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default booleanisCompatible(java.lang.Class<? extends IoHandle> handleType)Returnstrueif the given type is compatible with thisIoEventLoopGroupand so can be registered to the containedIoEventLoops,falseotherwise.default booleanisIoType(java.lang.Class<? extends IoHandler> handlerType)IoEventLoopnext()Return the nextEventLoopto usedefault ChannelFutureregister(Channel channel)Deprecated.default ChannelFutureregister(ChannelPromise promise)Deprecated.default Future<IoRegistration>register(IoHandle handle)-
Methods inherited from interface io.netty.util.concurrent.EventExecutorGroup
isShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFuture, ticker
-
Methods inherited from interface io.netty.channel.EventLoopGroup
register
-
-
-
-
Method Detail
-
next
IoEventLoop next()
Description copied from interface:EventLoopGroupReturn the nextEventLoopto use- Specified by:
nextin interfaceEventExecutorGroup- Specified by:
nextin interfaceEventLoopGroup
-
register
@Deprecated default ChannelFuture register(Channel channel)
Deprecated.Description copied from interface:EventLoopGroupRegister aChannelwith thisEventLoop. The returnedChannelFuturewill get notified once the registration was complete.- Specified by:
registerin interfaceEventLoopGroup
-
register
@Deprecated default ChannelFuture register(ChannelPromise promise)
Deprecated.Description copied from interface:EventLoopGroupRegister aChannelwith thisEventLoopusing aChannelFuture. The passedChannelFuturewill get notified once the registration was complete and also will get returned.- Specified by:
registerin interfaceEventLoopGroup
-
register
default Future<IoRegistration> register(IoHandle handle)
-
isCompatible
default boolean isCompatible(java.lang.Class<? extends IoHandle> handleType)
Returnstrueif the given type is compatible with thisIoEventLoopGroupand so can be registered to the containedIoEventLoops,falseotherwise.- Parameters:
handleType- the type of theIoHandle.- Returns:
- if compatible of not.
-
-