Package org.apache.pekko.dispatch
Class SaneRejectedExecutionHandler
- java.lang.Object
- 
- org.apache.pekko.dispatch.SaneRejectedExecutionHandler
 
- 
- All Implemented Interfaces:
- java.util.concurrent.RejectedExecutionHandler
 
 public class SaneRejectedExecutionHandler extends java.lang.Object implements java.util.concurrent.RejectedExecutionHandlerThe RejectedExecutionHandler used by Akka, it improves on CallerRunsPolicy by throwing a RejectedExecutionException if the executor isShutdown. (CallerRunsPolicy silently discards the runnable in this case, which is arguably broken)
- 
- 
Constructor SummaryConstructors Constructor Description SaneRejectedExecutionHandler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrejectedExecution(java.lang.Runnable runnable, java.util.concurrent.ThreadPoolExecutor threadPoolExecutor)
 
-