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 interfaceEventLoopWill handle all the I/O operations for aIoHandleonce registered.interfaceEventLoopGroupSpecialEventExecutorGroupwhich allows registeringIoHandles that get processed for later selection during the event loop.Classes in io.netty5.channel that implement EventExecutorGroup Modifier and Type Class Description classMultithreadEventLoopGroupEventLoopGroupimplementation that will handle its tasks with multiple threads.classSingleThreadEventLoop -
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 theAbstractTrafficShapingHandlerthat 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 interfaceEventExecutorTheEventExecutoris a specialEventExecutorGroupwhich comes with some handy methods to see if aThreadis executed in a event loop.interfaceOrderedEventExecutorMarker interface forEventExecutors 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 classAbstractEventExecutorAbstract base class forEventExecutorimplementations.classAbstractScheduledEventExecutorAbstract base class forEventExecutors that want to support scheduling.classDefaultEventExecutorGroupDefault implementation ofMultithreadEventExecutorGroupwhich will useSingleThreadEventExecutorinstances to handle the tasks.classGlobalEventExecutorSingle-thread singletonEventExecutor.classImmediateEventExecutorExecutesRunnableobjects in the caller's thread.classMultithreadEventExecutorGroupEventExecutorGroupimplementation that handles their tasks with multiple threads at the same time.classNonStickyEventExecutorGroupEventExecutorGroupwhich will preserveRunnableexecution order but makes no guarantees about whatEventExecutor(and thereforeThread) will be used to execute theRunnables.classSingleThreadEventExecutorOrderedEventExecutor's implementation that execute all its submitted tasks in a single thread.classUnorderedThreadPoolEventExecutorEventExecutorimplementation 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.
-