public class CallerRunsPolicy extends java.lang.Object implements RejectedExecutionHandler
ThreadPoolExecutor.CallerRunsPolicy.ThreadPoolExecutor.CallerRunsPolicy| Constructor and Description |
|---|
CallerRunsPolicy() |
| 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 RejectedExecutionHandlerThreadPoolExecutor.CallerRunsPolicy.rejectedExecution(
Runnable, java.util.concurrent.ThreadPoolExecutor)