AbortPolicy

A handler for rejected tasks that throws a RejectedExecutionException.

This is the default handler for ThreadPoolExecutor and ScheduledThreadPoolExecutor.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun rejectedExecution(r: Runnable, e: ThreadPoolExecutor)

Always throws RejectedExecutionException.