Class XExecutorUtils

java.lang.Object
de.xima.fc.utils.XExecutorUtils

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

    • 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.