execute method, unless the executor has been shut down, in which case the task is discarded (see ThreadPoolExecutor.CallerRunsPolicy).
| Modifier and type | Action and description |
|---|---|
| void | rejectedExecution(Runnable,ThreadPoolExecutor) |
| protected static boolean | runRejectedTask(Runnable,ThreadPoolExecutor)
Run the given task within the current thread if the executor is not shut down. |
def rejectedExecution(Runnable,ThreadPoolExecutor)
protected def runRejectedTask(Runnable,ThreadPoolExecutor) : boolean