Package org.jppf.utils.concurrent
Class GlobalExecutor
java.lang.Object
org.jppf.utils.concurrent.GlobalExecutor
- Author:
- Laurent Cohen
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutorServicestatic voidshutdown(boolean now) Shutdown the global executor for all transition managers.
-
Field Details
-
NIO_THREAD_NAME_PREFIX
Prefix for the NIO thread names.
-
-
Constructor Details
-
GlobalExecutor
public GlobalExecutor()
-
-
Method Details
-
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- iftruethen callshutdownNow()on the executor, otherwise, callshutdown().
-