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
EventLoopGroup
forIoEventLoop
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default boolean
isCompatible(java.lang.Class<? extends IoHandle> handleType)
Returnstrue
if the given type is compatible with thisIoEventLoopGroup
and so can be registered to the containedIoEventLoop
s,false
otherwise.default boolean
isIoType(java.lang.Class<? extends IoHandler> handlerType)
IoEventLoop
next()
Return the nextEventLoop
to usedefault ChannelFuture
register(Channel channel)
Deprecated.default ChannelFuture
register(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:EventLoopGroup
Return the nextEventLoop
to use- Specified by:
next
in interfaceEventExecutorGroup
- Specified by:
next
in interfaceEventLoopGroup
-
register
@Deprecated default ChannelFuture register(Channel channel)
Deprecated.Description copied from interface:EventLoopGroup
Register aChannel
with thisEventLoop
. The returnedChannelFuture
will get notified once the registration was complete.- Specified by:
register
in interfaceEventLoopGroup
-
register
@Deprecated default ChannelFuture register(ChannelPromise promise)
Deprecated.Description copied from interface:EventLoopGroup
Register aChannel
with thisEventLoop
using aChannelFuture
. The passedChannelFuture
will get notified once the registration was complete and also will get returned.- Specified by:
register
in interfaceEventLoopGroup
-
register
default Future<IoRegistration> register(IoHandle handle)
-
isCompatible
default boolean isCompatible(java.lang.Class<? extends IoHandle> handleType)
Returnstrue
if the given type is compatible with thisIoEventLoopGroup
and so can be registered to the containedIoEventLoop
s,false
otherwise.- Parameters:
handleType
- the type of theIoHandle
.- Returns:
- if compatible of not.
-
-