Package io.netty.util.concurrent
Interface RejectedExecutionHandler
public interface RejectedExecutionHandler
Similar to
RejectedExecutionHandler
but specific to SingleThreadEventExecutor
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
rejected
(Runnable task, SingleThreadEventExecutor executor) Called when someone tried to add a task toSingleThreadEventExecutor
but this failed due capacity restrictions.
-
Method Details
-
rejected
Called when someone tried to add a task toSingleThreadEventExecutor
but this failed due capacity restrictions.
-