Uses of Interface
io.netty5.util.concurrent.RejectedExecutionHandler
-
Packages that use RejectedExecutionHandler Package Description io.netty5.util.concurrent Utility classes for concurrent / async tasks. -
-
Uses of RejectedExecutionHandler in io.netty5.util.concurrent
Methods in io.netty5.util.concurrent that return RejectedExecutionHandler Modifier and Type Method Description static RejectedExecutionHandlerRejectedExecutionHandlers. 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 RejectedExecutionHandlerRejectedExecutionHandlers. reject()Returns aRejectedExecutionHandlerthat will always just throw aRejectedExecutionException.Methods in io.netty5.util.concurrent with parameters of type RejectedExecutionHandler Modifier and Type Method Description protected EventExecutorMultithreadEventExecutorGroup. 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
-