Package no.digipost.concurrent.executor
Class DefaultExecutors
java.lang.Object
no.digipost.concurrent.executor.DefaultExecutors
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidensureShutdown(String executorName, ExecutorService executor, Duration timeoutBeforeForcefulShutdown) Deprecated.static voidensureShutdown(ExecutorService executor, Duration timeoutBeforeForcefulShutdown) Deprecated.static ExecutorServiceexternallyManaged(ExecutorService executor) Deprecated.static ExecutorServicefixedThreadPool(int threadAmount, String name) Deprecated.static booleanisExternallyManaged(ExecutorService executor) Deprecated.static ScheduledExecutorServiceDeprecated.static ScheduledExecutorServiceDeprecated.static ExecutorServicesingleThreaded(String name) Deprecated.static ThreadFactorythreadNamingFactory(String threadBaseName) Deprecated.static ThreadFactorythreadNamingFactory(LongFunction<String> threadName) Deprecated.static ThreadFactorythreadNamingFactory(LongFunction<String> threadName, ThreadFactory backingFactory) Deprecated.
-
Method Details
-
fixedThreadPool
Deprecated. -
singleThreaded
Deprecated.- See Also:
-
scheduledSingleThreaded
Deprecated. -
scheduled
Deprecated.- See Also:
-
threadNamingFactory
Deprecated. -
threadNamingFactory
Deprecated. -
threadNamingFactory
public static ThreadFactory threadNamingFactory(LongFunction<String> threadName, ThreadFactory backingFactory) Deprecated. -
externallyManaged
Deprecated. -
isExternallyManaged
Deprecated. -
ensureShutdown
Deprecated. -
ensureShutdown
public static void ensureShutdown(String executorName, ExecutorService executor, Duration timeoutBeforeForcefulShutdown) Deprecated.
-
DiggConcurrentinstead. This will eventually be removed.