Class GlobalExecutor

java.lang.Object
org.jppf.utils.concurrent.GlobalExecutor

public class GlobalExecutor extends Object
Author:
Laurent Cohen
  • Field Details

    • NIO_THREAD_NAME_PREFIX

      public static final String NIO_THREAD_NAME_PREFIX
      Prefix for the NIO thread names.
  • Constructor Details

    • GlobalExecutor

      public GlobalExecutor()
  • Method Details

    • getGlobalexecutor

      public static ExecutorService getGlobalexecutor()
      Returns:
      the global thread pool used by all NIO servers.
    • shutdown

      public static void shutdown(boolean now)
      Shutdown the global executor for all transition managers.
      Parameters:
      now - if true then call shutdownNow() on the executor, otherwise, call shutdown().