public static interface ExecutionService.CloseableExecutor extends Executor
| Modifier and Type | Interface and Description |
|---|---|
static class |
ExecutionService.CloseableExecutor.ExecutorClosedException |
| Modifier and Type | Method and Description |
|---|---|
boolean |
stop(long timeout,
TimeUnit unit)
The executor will accept no more tasks.
|
boolean stop(long timeout,
@NonNull
TimeUnit unit)
timeout - time to wait for shutdownunit - time unit for shutdown wait