Class XExecutorUtils


  • public final class XExecutorUtils
    extends Object
    Utility class for executors.
    Since:
    8.3.5
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • shutdownExecutorQuietlyAndWaitTermination

        public static void shutdownExecutorQuietlyAndWaitTermination​(ExecutorService executor)
        Shuts down the executor service and waits for the termination of all tasks, however long it may take.
        Parameters:
        executor - The executor service to shut down.