Packages

c

akka.dispatch

SaneRejectedExecutionHandler

class SaneRejectedExecutionHandler extends RejectedExecutionHandler

The 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)

Source
ThreadPoolBuilder.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SaneRejectedExecutionHandler
  2. RejectedExecutionHandler
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SaneRejectedExecutionHandler()

Value Members

  1. def rejectedExecution(runnable: Runnable, threadPoolExecutor: ThreadPoolExecutor): Unit
    Definition Classes
    SaneRejectedExecutionHandler → RejectedExecutionHandler