public interface ThreadPoolService
| Modifier and Type | Interface and Description |
|---|---|
static class |
ThreadPoolService.Names |
static interface |
ThreadPoolService.Run<T> |
| Modifier and Type | Method and Description |
|---|---|
Executor |
executor(String name) |
<T> T |
runWithTimeout(int time,
ThreadPoolService.Run<T> run) |
void |
shutdown() |
void |
shutdownNow() |
<T> T runWithTimeout(int time,
ThreadPoolService.Run<T> run)
void shutdown()
void shutdownNow()
Copyright © 2021. All rights reserved.