-
- All Superinterfaces:
EventExecutorGroup
,Executor
,Iterable<EventExecutor>
- All Known Subinterfaces:
EventLoop
- All Known Implementing Classes:
MultithreadEventLoopGroup
,SingleThreadEventLoop
public interface EventLoopGroup extends EventExecutorGroup
SpecialEventExecutorGroup
which allows registeringIoHandle
s that get processed for later selection during the event loop.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
isCompatible(Class<? extends IoHandle> handleType)
Returnstrue
if the given type is compatible with thisEventLoopGroup
and so can be registered to the containedEventLoop
s,false
otherwise.EventLoop
next()
Return the nextEventLoop
to use-
Methods inherited from interface io.netty5.util.concurrent.EventExecutorGroup
awaitTermination, execute, isShutdown, isShuttingDown, isTerminated, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdownGracefully, shutdownGracefully, submit, submit, submit, terminationFuture
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
next
EventLoop next()
Return the nextEventLoop
to use- Specified by:
next
in interfaceEventExecutorGroup
-
isCompatible
default boolean isCompatible(Class<? extends IoHandle> handleType)
Returnstrue
if the given type is compatible with thisEventLoopGroup
and so can be registered to the containedEventLoop
s,false
otherwise.- Parameters:
handleType
- the type of theIoHandle
.- Returns:
- if compatible of not.
-
-