Interface RejectedExecutionHandler
public interface RejectedExecutionHandler
Similar to
RejectedExecutionHandler but specific to SingleThreadEventExecutor.-
Method Summary
Modifier and TypeMethodDescriptionvoidrejected(Runnable task, SingleThreadEventExecutor executor) Called when someone tried to add a task toSingleThreadEventExecutorbut this failed due capacity restrictions.
-
Method Details
-
rejected
Called when someone tried to add a task toSingleThreadEventExecutorbut this failed due capacity restrictions.
-