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