Class LifecycleRejectedExecutionHandler
java.lang.Object
java.util.concurrent.ThreadPoolExecutor.AbortPolicy
org.infinispan.commons.util.concurrent.LifecycleRejectedExecutionHandler
- All Implemented Interfaces:
RejectedExecutionHandler
A handler for rejected tasks that always throws a
IllegalLifecycleStateException
.- Since:
- 11.0
- Author:
- wburns
-
Method Summary
Modifier and TypeMethodDescriptionvoid
rejectedExecution
(Runnable r, ThreadPoolExecutor executor)
-
Method Details
-
getInstance
-
rejectedExecution
- Specified by:
rejectedExecution
in interfaceRejectedExecutionHandler
- Overrides:
rejectedExecution
in classThreadPoolExecutor.AbortPolicy
-