Class ExecutorUtils


  • public class ExecutorUtils
    extends Object
    • Constructor Detail

      • ExecutorUtils

        public ExecutorUtils()
    • Method Detail

      • shutdownAndAwaitTermination

        public static boolean shutdownAndAwaitTermination​(ExecutorService executorService,
                                                          Duration waitBeforeInterrupt,
                                                          Duration waitAfterInterrupt)
      • defaultThreadFactoryWithPrefix

        public static ThreadFactory defaultThreadFactoryWithPrefix​(String prefix)