ExecutorService you want to shutdown manually should be given as constructor arguments. Default ExecutorService initialisation can be kept. See for example the SimpleTimeLimiter, which initializes an internal CachedThreadExecutor but has no method for a shutdown.
ExecutorService you want to shutdown manually should be given as constructor arguments. Default ExecutorService initialisation can be kept. See for example the SimpleTimeLimiter, which initializes an internal CachedThreadExecutor but has no method for a shutdown.