Removed Methods |
void addDelayedShutdownHook(ExecutorService, Duration)
|
Add a shutdown hook to wait for thread completion in the given service. |
ExecutorService getExitingExecutorService(ThreadPoolExecutor, Duration)
|
Converts the given ThreadPoolExecutor into an ExecutorService that exits when the application
is complete. |
ScheduledExecutorService getExitingScheduledExecutorService(ScheduledThreadPoolExecutor, Duration)
|
Converts the given ScheduledThreadPoolExecutor into a ScheduledExecutorService that exits when
the application is complete. |
boolean shutdownAndAwaitTermination(ExecutorService, Duration)
|
Shuts down the given executor service gradually, first disabling new submissions and later, if
necessary, cancelling remaining tasks. |