public class ThreadPools
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ThreadPools.ExecutionMode |
Constructor and Description |
---|
ThreadPools() |
Modifier and Type | Method and Description |
---|---|
static java.util.concurrent.Executor |
getLazyExecutor() |
static java.util.concurrent.Executor |
getSequential() |
static java.util.concurrent.ScheduledExecutorService |
getSequentialRetry() |
static java.util.concurrent.Executor |
getStandard() |
static java.util.concurrent.ScheduledExecutorService |
getStandardRetry() |
static boolean |
isUseCommon() |
static void |
setUseCommon(boolean useCommon) |
public static java.util.concurrent.Executor getStandard()
public static java.util.concurrent.Executor getSequential()
public static java.util.concurrent.ScheduledExecutorService getSequentialRetry()
public static java.util.concurrent.ScheduledExecutorService getStandardRetry()
public static java.util.concurrent.Executor getLazyExecutor()
public static boolean isUseCommon()
public static void setUseCommon(boolean useCommon)