public class AbortPolicy extends Object implements RejectedExecutionHandler
ThreadPoolExecutor.AbortPolicy.ThreadPoolExecutor.AbortPolicy| Constructor and Description |
|---|
AbortPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
rejectedExecution(Runnable runnable,
ThreadPoolExecutor threadPoolExecutor) |
public void rejectedExecution(Runnable runnable,
ThreadPoolExecutor threadPoolExecutor)
rejectedExecution in interface RejectedExecutionHandlerThreadPoolExecutor.AbortPolicy.rejectedExecution(
Runnable, java.util.concurrent.ThreadPoolExecutor)