Package uk.gov.gchq.gaffer.commonutil
Class ExecutorService
- java.lang.Object
-
- uk.gov.gchq.gaffer.commonutil.ExecutorService
-
public final class ExecutorService extends Object
AnExecutorService
that can schedule commands to run after a given delay, or to execute periodically.- See Also:
ScheduledExecutorService
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ScheduledExecutorService
getService()
static void
initialise(int jobExecutorThreadCount)
static boolean
isEnabled()
static void
shutdown()
-
-
-
Method Detail
-
initialise
public static void initialise(int jobExecutorThreadCount)
-
getService
public static ScheduledExecutorService getService()
-
isEnabled
public static boolean isEnabled()
-
shutdown
public static void shutdown()
-
-