public static class ThreadPoolExecutor.AbortPolicy extends Objectimplements RejectedExecutionHandler
RejectedExecutionException.
| Constructor and Description |
|---|
AbortPolicy()
Creates an
AbortPolicy.
|
public void rejectedExecution(Runnabler, ThreadPoolExecutor e)
rejectedExecution in interface
RejectedExecutionHandler
r - the runnable task requested to be executed
e - the executor attempting to execute this task
RejectedExecutionException - always