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