static GracefulExecutorServicesShutdown |
GracefulExecutorServicesShutdown.initiate() |
Initiates a new shutdown for one or many ExecutorServices.
|
GracefulExecutorServicesShutdown |
GracefulExecutorServicesShutdown.shutdown(java.util.concurrent.ExecutorService... executorServices) |
Calls ExecutorService.shutdown() and enlists the executor as part of the
shutdown handling.
|
GracefulExecutorServicesShutdown |
GracefulExecutorServicesShutdown.terminationTimeout(java.time.Duration terminationTimeout) |
Sets the timeout for waiting for executors to complete in forceful termination.
|
GracefulExecutorServicesShutdown |
GracefulExecutorServicesShutdown.timeout(java.time.Duration timeout) |
Sets the timeout for graceful shutdown.
|