Top Description Methods
io.netty5.channel

public Interface EventLoopGroup

extends EventExecutorGroup
Known Direct Subinterfaces
io.netty5.channel.EventLoop
Known Direct Implementers
io.netty5.channel.MultithreadEventLoopGroup
Imports
io.netty5.util.concurrent.EventExecutorGroup

Special EventExecutorGroup which allows registering IoHandles that get processed for later selection during the event loop.

Method Summary

Modifier and TypeMethod and Description
public default boolean

Returns:

if compatible of not.
isCompatible
(Class<? extends IoHandle>
the type of the IoHandle.
handleType
)

Returns true if the given type is compatible with this EventLoopGroup and so can be registered to the contained EventLoops, false otherwise.

public EventLoop
Inherited from io.netty5.util.concurrent.EventExecutorGroup:
awaitTerminationexecuteisShutdownisShuttingDownisTerminatediteratorscheduleschedulescheduleAtFixedRatescheduleWithFixedDelayshutdownGracefullyshutdownGracefullysubmitsubmitsubmitterminationFuture

Method Detail

isCompatibleback to summary
public default boolean isCompatible(Class<? extends IoHandle> handleType)

Returns true if the given type is compatible with this EventLoopGroup and so can be registered to the contained EventLoops, false otherwise.

Parameters
handleType:Class<? extends IoHandle>

the type of the IoHandle.

Returns:boolean

if compatible of not.

nextback to summary
public EventLoop next()

Redeclares io.netty5.util.concurrent.EventExecutorGroup.next.

Return the next EventLoop to use

Annotations
@Override