ca.uhn.hl7v2.concurrent
Class DefaultExecutorService
java.lang.Object
ca.uhn.hl7v2.concurrent.DefaultExecutorService
public class DefaultExecutorService
- extends Object
Provides a global cached thread pool if Connections and Servers are not
initialized with their specific ExecutorService instances.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultExecutorService
public DefaultExecutorService()
getDefaultService
public static ExecutorService getDefaultService()
completionService
public static <V> CompletionService<V> completionService(ExecutorService executor)
isDefaultService
public static boolean isDefaultService(ExecutorService service)
- Returns:
- true if the service was created by this class
shutdown
public static void shutdown()
- See Also:
ExecutorService#shutdown()}
shutdownNow
public static void shutdownNow()
- See Also:
ExecutorService#shutdownNow()}
Copyright © 2001-2012 University Health Network. All Rights Reserved.