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