Interface IoEventLoopGroup
- All Superinterfaces:
EventExecutorGroup, EventLoopGroup, Executor, ExecutorService, Iterable<EventExecutor>, ScheduledExecutorService
- All Known Subinterfaces:
IoEventLoop
- All Known Implementing Classes:
EpollEventLoop, EpollEventLoopGroup, KQueueEventLoopGroup, LocalEventLoopGroup, ManualIoEventLoop, MultiThreadIoEventLoopGroup, NioEventLoop, NioEventLoopGroup, SingleThreadIoEventLoop
EventLoopGroup for IoEventLoops.-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanisCompatible(Class<? extends IoHandle> handleType) Returnstrueif the given type is compatible with thisIoEventLoopGroupand so can be registered to the containedIoEventLoops,falseotherwise.default booleannext()Return the nextEventLoopto usedefault ChannelFutureDeprecated.default ChannelFutureregister(ChannelPromise promise) Deprecated.default Future<IoRegistration> Methods inherited from interface EventExecutorGroup
isShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFuture, tickerMethods inherited from interface EventLoopGroup
registerMethods inherited from interface ExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminatedMethods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
next
IoEventLoop next()Description copied from interface:EventLoopGroupReturn the nextEventLoopto use- Specified by:
nextin interfaceEventExecutorGroup- Specified by:
nextin interfaceEventLoopGroup
-
register
Deprecated.Description copied from interface:EventLoopGroupRegister aChannelwith thisEventLoop. The returnedChannelFuturewill get notified once the registration was complete.- Specified by:
registerin interfaceEventLoopGroup
-
register
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
-
isCompatible
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.
-
isIoType
- Parameters:
handlerType- the type of theIoHandler.- Returns:
- if used or not.
-
register(IoHandle)