Uses of Interface
io.netty5.util.concurrent.RejectedExecutionHandler
-
Packages that use RejectedExecutionHandler 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.util.concurrent Utility classes for concurrent / async tasks. -
-
Uses of RejectedExecutionHandler in io.netty5.channel
Methods in io.netty5.channel with parameters of type RejectedExecutionHandler Modifier and Type Method Description protected EventLoop
MultithreadEventLoopGroup. newChild(Executor executor, int maxPendingTasks, RejectedExecutionHandler rejectedExecutionHandler, IoHandler ioHandler, int maxTasksPerRun, Object... args)
Creates a newEventLoop
to use.protected EventLoop
MultithreadEventLoopGroup. newChild(Executor executor, int maxPendingTasks, RejectedExecutionHandler rejectedExecutionHandler, Object... args)
Constructors in io.netty5.channel with parameters of type RejectedExecutionHandler Constructor Description MultithreadEventLoopGroup(int nThreads, Executor executor, IoHandlerFactory ioHandlerFactory, int maxPendingTasks, RejectedExecutionHandler rejectedHandler)
Create a new instance.MultithreadEventLoopGroup(int nThreads, Executor executor, IoHandlerFactory ioHandlerFactory, int maxPendingTasks, RejectedExecutionHandler rejectedHandler, int maxTasksPerRun)
Create a new instance.MultithreadEventLoopGroup(int nThreads, Executor executor, IoHandlerFactory ioHandlerFactory, int maxPendingTasks, RejectedExecutionHandler rejectedHandler, int maxTasksPerRun, Object... args)
Create a new instance.MultithreadEventLoopGroup(int nThreads, ThreadFactory threadFactory, IoHandlerFactory ioHandlerFactory, int maxPendingTasks, RejectedExecutionHandler rejectedHandler)
Create a new instance.MultithreadEventLoopGroup(int nThreads, ThreadFactory threadFactory, IoHandlerFactory ioHandlerFactory, int maxPendingTasks, RejectedExecutionHandler rejectedHandler, int maxTasksPerRun)
Create a new instance.MultithreadEventLoopGroup(int nThreads, ThreadFactory threadFactory, IoHandlerFactory ioHandlerFactory, int maxPendingTasks, RejectedExecutionHandler rejectedHandler, int maxTasksPerRun, Object... args)
Create a new instance.SingleThreadEventLoop(Executor executor, IoHandler ioHandler, int maxPendingTasks, RejectedExecutionHandler rejectedHandler)
Create a new instanceSingleThreadEventLoop(Executor executor, IoHandler ioHandler, int maxPendingTasks, RejectedExecutionHandler rejectedHandler, int maxTasksPerRun)
Create a new instanceSingleThreadEventLoop(ThreadFactory threadFactory, IoHandler ioHandler, int maxPendingTasks, RejectedExecutionHandler rejectedHandler)
Create a new instanceSingleThreadEventLoop(ThreadFactory threadFactory, IoHandler ioHandler, int maxPendingTasks, RejectedExecutionHandler rejectedHandler, int maxTasksPerRun)
Create a new instance -
Uses of RejectedExecutionHandler in io.netty5.util.concurrent
Methods in io.netty5.util.concurrent that return RejectedExecutionHandler Modifier and Type Method Description static RejectedExecutionHandler
RejectedExecutionHandlers. backoff(int retries, long backoffAmount, TimeUnit unit)
Tries to backoff when the task can not be added due restrictions for an configured amount of time.static RejectedExecutionHandler
RejectedExecutionHandlers. reject()
Returns aRejectedExecutionHandler
that will always just throw aRejectedExecutionException
.Methods in io.netty5.util.concurrent with parameters of type RejectedExecutionHandler Modifier and Type Method Description protected EventExecutor
MultithreadEventExecutorGroup. newChild(Executor executor, int maxPendingTasks, RejectedExecutionHandler rejectedExecutionHandler, Object... args)
Create a new EventExecutor which will later then accessible via theMultithreadEventExecutorGroup.next()
method.Constructors in io.netty5.util.concurrent with parameters of type RejectedExecutionHandler Constructor Description DefaultEventExecutorGroup(int nThreads, ThreadFactory threadFactory, int maxPendingTasks, RejectedExecutionHandler rejectedHandler)
Create a new instance.MultithreadEventExecutorGroup(int nThreads, Executor executor, int maxPendingTasks, RejectedExecutionHandler rejectedHandler)
Create a new instance.MultithreadEventExecutorGroup(int nThreads, Executor executor, int maxPendingTasks, RejectedExecutionHandler rejectedHandler, Object... args)
Create a new instance.MultithreadEventExecutorGroup(int nThreads, ThreadFactory threadFactory, int maxPendingTasks, RejectedExecutionHandler rejectedHandler)
Create a new instance.MultithreadEventExecutorGroup(int nThreads, ThreadFactory threadFactory, int maxPendingTasks, RejectedExecutionHandler rejectedHandler, Object... args)
Create a new instance.SingleThreadEventExecutor(Executor executor, int maxPendingTasks, RejectedExecutionHandler rejectedHandler)
Create a new instanceSingleThreadEventExecutor(ThreadFactory threadFactory, int maxPendingTasks, RejectedExecutionHandler rejectedHandler)
Create a new instance
-