public interface ExecutorServiceManager
Modifier and Type | Method and Description |
---|---|
ExecutorService |
add(ExecutorService executorService) |
Collection<ExecutorService> |
getExecutorServices()
Returns an immutable view of all
ExecutorService s currently managed. |
ExecutorService |
remove(ExecutorService executorService) |
void |
shutdownAll() |
@Nonnull Collection<ExecutorService> getExecutorServices()
ExecutorService
s currently managed.ExecutorService
s or empty if none.@Nullable ExecutorService add(@Nullable ExecutorService executorService)
@Nullable ExecutorService remove(@Nullable ExecutorService executorService)
void shutdownAll()