public static class ThreadPoolExecutor.AbortPolicy extends Object implements RejectedExecutionHandler
RejectedExecutionException
.Constructor and Description |
---|
AbortPolicy()
Creates an
AbortPolicy . |
Modifier and Type | Method and Description |
---|---|
void |
rejectedExecution(Runnable r,
ThreadPoolExecutor e)
Always throws RejectedExecutionException.
|
public void rejectedExecution(Runnable r, ThreadPoolExecutor e)
rejectedExecution
in interface RejectedExecutionHandler
RejectedExecutionException
- alwaysr
- the runnable task requested to be executede
- the executor attempting to execute this taskaicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.