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.- See Also:
-
singleThreaded
Deprecated.- See Also:
-
scheduledSingleThreaded
Deprecated.- See Also:
-
scheduled
Deprecated.- See Also:
-
threadNamingFactory
Deprecated.- See Also:
-
threadNamingFactory
Deprecated.- See Also:
-
threadNamingFactory
public static ThreadFactory threadNamingFactory(LongFunction<String> threadName, ThreadFactory backingFactory) Deprecated.- See Also:
-
externallyManaged
Deprecated.- See Also:
-
isExternallyManaged
Deprecated.- See Also:
-
ensureShutdown
Deprecated.- See Also:
-
ensureShutdown
public static void ensureShutdown(String executorName, ExecutorService executor, Duration timeoutBeforeForcefulShutdown) Deprecated.- See Also:
-
DiggConcurrentinstead. This will eventually be removed.