Uses of Interface
io.netty5.util.concurrent.EventExecutorGroup
-
Packages that use EventExecutorGroup Package Description io.netty5.channel The core channel API which is asynchronous and event-driven abstraction of various transports such as a NIO Channel.io.netty5.handler.traffic Implementation of a Traffic Shaping Handler and Dynamic Statistics.io.netty5.util.concurrent Utility classes for concurrent / async tasks. -
-
Uses of EventExecutorGroup in io.netty5.channel
Subinterfaces of EventExecutorGroup in io.netty5.channel Modifier and Type Interface Description interface
EventLoop
Will handle all the I/O operations for aIoHandle
once registered.interface
EventLoopGroup
SpecialEventExecutorGroup
which allows registeringIoHandle
s that get processed for later selection during the event loop.Classes in io.netty5.channel that implement EventExecutorGroup Modifier and Type Class Description class
MultithreadEventLoopGroup
EventLoopGroup
implementation that will handle its tasks with multiple threads.class
SingleThreadEventLoop
-
Uses of EventExecutorGroup in io.netty5.handler.traffic
Constructors in io.netty5.handler.traffic with parameters of type EventExecutorGroup Constructor Description GlobalChannelTrafficCounter(GlobalChannelTrafficShapingHandler trafficShapingHandler, EventExecutorGroup executor, String name, long checkInterval)
GlobalChannelTrafficShapingHandler(EventExecutorGroup executor)
Create a new instance.GlobalChannelTrafficShapingHandler(EventExecutorGroup executor, long checkInterval)
Create a new instance.GlobalChannelTrafficShapingHandler(EventExecutorGroup executor, long writeGlobalLimit, long readGlobalLimit, long writeChannelLimit, long readChannelLimit)
Create a new instance.GlobalChannelTrafficShapingHandler(EventExecutorGroup executor, long writeGlobalLimit, long readGlobalLimit, long writeChannelLimit, long readChannelLimit, long checkInterval)
Create a new instance.GlobalChannelTrafficShapingHandler(EventExecutorGroup executor, long writeGlobalLimit, long readGlobalLimit, long writeChannelLimit, long readChannelLimit, long checkInterval, long maxTime)
Create a new instance.GlobalTrafficShapingHandler(EventExecutorGroup executor, long checkInterval)
Create a new instance using default max time as delay allowed value of 15000 ms and no limit.GlobalTrafficShapingHandler(EventExecutorGroup executor, long writeLimit, long readLimit)
Create a new instance using default Check Interval value of 1000 ms and default max time as delay allowed value of 15000 ms.GlobalTrafficShapingHandler(EventExecutorGroup executor, long writeLimit, long readLimit, long checkInterval)
Create a new instance using default max time as delay allowed value of 15000 ms.GlobalTrafficShapingHandler(EventExecutorGroup executor, long writeLimit, long readLimit, long checkInterval, long maxTime)
Create a new instance.TrafficCounter(AbstractTrafficShapingHandler trafficShapingHandler, EventExecutorGroup executor, String name, long checkInterval)
Constructor with theAbstractTrafficShapingHandler
that hosts it, the Timer to use, its name, the checkInterval between two computations in millisecond. -
Uses of EventExecutorGroup in io.netty5.util.concurrent
Subinterfaces of EventExecutorGroup in io.netty5.util.concurrent Modifier and Type Interface Description interface
EventExecutor
TheEventExecutor
is a specialEventExecutorGroup
which comes with some handy methods to see if aThread
is executed in a event loop.interface
OrderedEventExecutor
Marker interface forEventExecutor
s that will process all submitted tasks in an ordered / serial fashion.Classes in io.netty5.util.concurrent that implement EventExecutorGroup Modifier and Type Class Description class
AbstractEventExecutor
Abstract base class forEventExecutor
implementations.class
AbstractScheduledEventExecutor
Abstract base class forEventExecutor
s that want to support scheduling.class
DefaultEventExecutorGroup
Default implementation ofMultithreadEventExecutorGroup
which will useSingleThreadEventExecutor
instances to handle the tasks.class
GlobalEventExecutor
Single-thread singletonEventExecutor
.class
ImmediateEventExecutor
ExecutesRunnable
objects in the caller's thread.class
MultithreadEventExecutorGroup
EventExecutorGroup
implementation that handles their tasks with multiple threads at the same time.class
NonStickyEventExecutorGroup
EventExecutorGroup
which will preserveRunnable
execution order but makes no guarantees about whatEventExecutor
(and thereforeThread
) will be used to execute theRunnable
s.class
SingleThreadEventExecutor
OrderedEventExecutor
's implementation that execute all its submitted tasks in a single thread.class
UnorderedThreadPoolEventExecutor
EventExecutor
implementation which makes no guarantees about the ordering of task execution that are submitted because there may be multiple threads executing these tasks.Constructors in io.netty5.util.concurrent with parameters of type EventExecutorGroup Constructor Description NonStickyEventExecutorGroup(EventExecutorGroup group)
Creates a new instance.NonStickyEventExecutorGroup(EventExecutorGroup group, int maxTaskExecutePerRun)
Creates a new instance.
-