Package ca.uhn.hl7v2.concurrent
Class DefaultExecutorService
java.lang.Object
ca.uhn.hl7v2.concurrent.DefaultExecutorService
Provides a global cached thread pool if Connections and Servers are not
initialized with their specific
ExecutorService instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <V> CompletionService<V>completionService(ExecutorService executor) static ExecutorServicestatic booleanisDefaultService(ExecutorService service) static voidshutdown()static void
-
Constructor Details
-
DefaultExecutorService
public DefaultExecutorService()
-
-
Method Details
-
completionService
-
getDefaultService
-
isDefaultService
- Returns:
- true if the service is not null and was created by this class
-
shutdown
-
shutdownNow
-