Class ExecutorUtils
- java.lang.Object
-
- org.gcube.documentstore.persistence.ExecutorUtils
-
public class ExecutorUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static ExecutorServiceASYNC_AGGREGATION_POOLstatic ScheduledExecutorServiceCONFIGURATION_REDISCOVERY_POOLstatic ScheduledExecutorServiceFALLBACK_ELABORATOR_POOLstatic ScheduledExecutorServiceFUTURE_FLUSH_POOLstatic ScheduledExecutorServicePERSISTENCE_BACKEND_REDISCOVERY_POOL
-
Constructor Summary
Constructors Constructor Description ExecutorUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidshutDownAll()static voidshutDownPool(ExecutorService pool)
-
-
-
Field Detail
-
PERSISTENCE_BACKEND_REDISCOVERY_POOL
public static final ScheduledExecutorService PERSISTENCE_BACKEND_REDISCOVERY_POOL
-
CONFIGURATION_REDISCOVERY_POOL
public static final ScheduledExecutorService CONFIGURATION_REDISCOVERY_POOL
-
FUTURE_FLUSH_POOL
public static final ScheduledExecutorService FUTURE_FLUSH_POOL
-
FALLBACK_ELABORATOR_POOL
public static final ScheduledExecutorService FALLBACK_ELABORATOR_POOL
-
ASYNC_AGGREGATION_POOL
public static final ExecutorService ASYNC_AGGREGATION_POOL
-
-
Method Detail
-
shutDownPool
public static void shutDownPool(ExecutorService pool)
-
shutDownAll
public static void shutDownAll()
-
-