DiggConcurrent instead. This will eventually be removed.@Deprecated public final class DefaultExecutors extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
ensureShutdown(ExecutorService executor,
Duration timeoutBeforeForcefulShutdown)
Deprecated.
|
static void |
ensureShutdown(String executorName,
ExecutorService executor,
Duration timeoutBeforeForcefulShutdown)
Deprecated.
|
static ExecutorService |
externallyManaged(ExecutorService executor)
Deprecated.
|
static ExecutorService |
fixedThreadPool(int threadAmount,
String name)
Deprecated.
|
static boolean |
isExternallyManaged(ExecutorService executor)
Deprecated.
|
static ScheduledExecutorService |
scheduled(int threadAmount,
String name)
Deprecated.
|
static ScheduledExecutorService |
scheduledSingleThreaded(String name)
Deprecated.
|
static ExecutorService |
singleThreaded(String name)
Deprecated.
|
static ThreadFactory |
threadNamingFactory(LongFunction<String> threadName)
Deprecated.
|
static ThreadFactory |
threadNamingFactory(LongFunction<String> threadName,
ThreadFactory backingFactory)
Deprecated.
|
static ThreadFactory |
threadNamingFactory(String threadBaseName)
Deprecated.
|
public static ExecutorService fixedThreadPool(int threadAmount, String name)
public static ExecutorService singleThreaded(String name)
DiggConcurrent.singleThreaded(String)public static ScheduledExecutorService scheduledSingleThreaded(String name)
public static ScheduledExecutorService scheduled(int threadAmount, String name)
DiggConcurrent.scheduled(int, String)public static ThreadFactory threadNamingFactory(String threadBaseName)
public static ThreadFactory threadNamingFactory(LongFunction<String> threadName)
public static ThreadFactory threadNamingFactory(LongFunction<String> threadName, ThreadFactory backingFactory)
public static ExecutorService externallyManaged(ExecutorService executor)
public static boolean isExternallyManaged(ExecutorService executor)
public static void ensureShutdown(ExecutorService executor, Duration timeoutBeforeForcefulShutdown)
public static void ensureShutdown(String executorName, ExecutorService executor, Duration timeoutBeforeForcefulShutdown)
Copyright © 2018 Digipost. All rights reserved.