public class CallerRunsRejectOnShutdownPolicy extends ThreadPoolExecutor.AbortPolicy
execute method. If
the executor was shutdown, it will instead throw a RejectedExecutionException.| Constructor and Description |
|---|
CallerRunsRejectOnShutdownPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
rejectedExecution(Runnable r,
ThreadPoolExecutor executor) |
public void rejectedExecution(Runnable r, ThreadPoolExecutor executor)
rejectedExecution in interface RejectedExecutionHandlerrejectedExecution in class ThreadPoolExecutor.AbortPolicyCopyright © 2022 JBoss by Red Hat. All rights reserved.