ca.uhn.hl7v2.concurrent
Class DefaultExecutorService

java.lang.Object
  extended by 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.


Constructor Summary
DefaultExecutorService()
           
 
Method Summary
static
<V> CompletionService<V>
completionService(ExecutorService executor)
           
static ExecutorService getDefaultService()
           
static boolean isDefaultService(ExecutorService service)
           
static void shutdown()
           
static void shutdownNow()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExecutorService

public DefaultExecutorService()
Method Detail

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.