public class DefaultExecutorServiceManager extends Object implements ExecutorServiceManager
Constructor and Description |
---|
DefaultExecutorServiceManager() |
Modifier and Type | Method and Description |
---|---|
ExecutorService |
add(ExecutorService executorService) |
ExecutorService |
remove(ExecutorService executorService) |
void |
shutdownAll() |
@Nullable public ExecutorService add(@Nullable ExecutorService executorService)
add
in interface ExecutorServiceManager
@Nullable public ExecutorService remove(@Nullable ExecutorService executorService)
remove
in interface ExecutorServiceManager
public void shutdownAll()
shutdownAll
in interface ExecutorServiceManager