Class ScheduledExecutors


  • public class ScheduledExecutors
    extends java.lang.Object
    Centralized location for shared executors
    • Constructor Detail

      • ScheduledExecutors

        public ScheduledExecutors()
    • Method Detail

      • shutdownAndWait

        public static void shutdownAndWait​(long timeout,
                                           java.util.concurrent.TimeUnit unit)
                                    throws java.lang.InterruptedException,
                                           java.util.concurrent.TimeoutException
        Throws:
        java.lang.InterruptedException
        java.util.concurrent.TimeoutException