Uses of Interface
io.netty.util.concurrent.RejectedExecutionHandler
Packages that use RejectedExecutionHandler
Package
Description
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
BSD specific transport.
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
Utility classes for concurrent / async tasks.
-
Uses of RejectedExecutionHandler in io.netty.channel
Constructors in io.netty.channel with parameters of type RejectedExecutionHandlerModifierConstructorDescriptionprotected
SingleThreadEventLoop
(EventLoopGroup parent, Executor executor, boolean addTaskWakesUp, int maxPendingTasks, RejectedExecutionHandler rejectedExecutionHandler) protected
SingleThreadEventLoop
(EventLoopGroup parent, Executor executor, boolean addTaskWakesUp, Queue<Runnable> taskQueue, Queue<Runnable> tailTaskQueue, RejectedExecutionHandler rejectedExecutionHandler) protected
SingleThreadEventLoop
(EventLoopGroup parent, ThreadFactory threadFactory, boolean addTaskWakesUp, int maxPendingTasks, RejectedExecutionHandler rejectedExecutionHandler) -
Uses of RejectedExecutionHandler in io.netty.channel.epoll
Constructors in io.netty.channel.epoll with parameters of type RejectedExecutionHandlerModifierConstructorDescription(package private)
EpollEventLoop
(EventLoopGroup parent, Executor executor, int maxEvents, SelectStrategy strategy, RejectedExecutionHandler rejectedExecutionHandler, EventLoopTaskQueueFactory taskQueueFactory, EventLoopTaskQueueFactory tailTaskQueueFactory) EpollEventLoopGroup
(int nThreads, Executor executor, EventExecutorChooserFactory chooserFactory, SelectStrategyFactory selectStrategyFactory, RejectedExecutionHandler rejectedExecutionHandler) EpollEventLoopGroup
(int nThreads, Executor executor, EventExecutorChooserFactory chooserFactory, SelectStrategyFactory selectStrategyFactory, RejectedExecutionHandler rejectedExecutionHandler, EventLoopTaskQueueFactory queueFactory) EpollEventLoopGroup
(int nThreads, Executor executor, EventExecutorChooserFactory chooserFactory, SelectStrategyFactory selectStrategyFactory, RejectedExecutionHandler rejectedExecutionHandler, EventLoopTaskQueueFactory taskQueueFactory, EventLoopTaskQueueFactory tailTaskQueueFactory) -
Uses of RejectedExecutionHandler in io.netty.channel.kqueue
Constructors in io.netty.channel.kqueue with parameters of type RejectedExecutionHandlerModifierConstructorDescription(package private)
KQueueEventLoop
(EventLoopGroup parent, Executor executor, int maxEvents, SelectStrategy strategy, RejectedExecutionHandler rejectedExecutionHandler, EventLoopTaskQueueFactory taskQueueFactory, EventLoopTaskQueueFactory tailTaskQueueFactory) KQueueEventLoopGroup
(int nThreads, Executor executor, EventExecutorChooserFactory chooserFactory, SelectStrategyFactory selectStrategyFactory, RejectedExecutionHandler rejectedExecutionHandler) KQueueEventLoopGroup
(int nThreads, Executor executor, EventExecutorChooserFactory chooserFactory, SelectStrategyFactory selectStrategyFactory, RejectedExecutionHandler rejectedExecutionHandler, EventLoopTaskQueueFactory queueFactory) KQueueEventLoopGroup
(int nThreads, Executor executor, EventExecutorChooserFactory chooserFactory, SelectStrategyFactory selectStrategyFactory, RejectedExecutionHandler rejectedExecutionHandler, EventLoopTaskQueueFactory taskQueueFactory, EventLoopTaskQueueFactory tailTaskQueueFactory) -
Uses of RejectedExecutionHandler in io.netty.channel.nio
Constructors in io.netty.channel.nio with parameters of type RejectedExecutionHandlerModifierConstructorDescription(package private)
NioEventLoop
(NioEventLoopGroup parent, Executor executor, SelectorProvider selectorProvider, SelectStrategy strategy, RejectedExecutionHandler rejectedExecutionHandler, EventLoopTaskQueueFactory taskQueueFactory, EventLoopTaskQueueFactory tailTaskQueueFactory) NioEventLoopGroup
(int nThreads, Executor executor, EventExecutorChooserFactory chooserFactory, SelectorProvider selectorProvider, SelectStrategyFactory selectStrategyFactory, RejectedExecutionHandler rejectedExecutionHandler) NioEventLoopGroup
(int nThreads, Executor executor, EventExecutorChooserFactory chooserFactory, SelectorProvider selectorProvider, SelectStrategyFactory selectStrategyFactory, RejectedExecutionHandler rejectedExecutionHandler, EventLoopTaskQueueFactory taskQueueFactory) NioEventLoopGroup
(int nThreads, Executor executor, EventExecutorChooserFactory chooserFactory, SelectorProvider selectorProvider, SelectStrategyFactory selectStrategyFactory, RejectedExecutionHandler rejectedExecutionHandler, EventLoopTaskQueueFactory taskQueueFactory, EventLoopTaskQueueFactory tailTaskQueueFactory) -
Uses of RejectedExecutionHandler in io.netty.util.concurrent
Fields in io.netty.util.concurrent declared as RejectedExecutionHandlerModifier and TypeFieldDescriptionprivate static final RejectedExecutionHandler
RejectedExecutionHandlers.REJECT
private final RejectedExecutionHandler
SingleThreadEventExecutor.rejectedExecutionHandler
Methods in io.netty.util.concurrent that return RejectedExecutionHandlerModifier and TypeMethodDescriptionstatic RejectedExecutionHandler
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
.Constructors in io.netty.util.concurrent with parameters of type RejectedExecutionHandlerModifierConstructorDescriptionDefaultEventExecutor
(EventExecutorGroup parent, Executor executor, int maxPendingTasks, RejectedExecutionHandler rejectedExecutionHandler) DefaultEventExecutor
(EventExecutorGroup parent, ThreadFactory threadFactory, int maxPendingTasks, RejectedExecutionHandler rejectedExecutionHandler) DefaultEventExecutorGroup
(int nThreads, ThreadFactory threadFactory, int maxPendingTasks, RejectedExecutionHandler rejectedHandler) Create a new instance.protected
SingleThreadEventExecutor
(EventExecutorGroup parent, Executor executor, boolean addTaskWakesUp, int maxPendingTasks, RejectedExecutionHandler rejectedHandler) Create a new instanceprotected
SingleThreadEventExecutor
(EventExecutorGroup parent, Executor executor, boolean addTaskWakesUp, Queue<Runnable> taskQueue, RejectedExecutionHandler rejectedHandler) protected
SingleThreadEventExecutor
(EventExecutorGroup parent, ThreadFactory threadFactory, boolean addTaskWakesUp, int maxPendingTasks, RejectedExecutionHandler rejectedHandler) Create a new instance