public class GlobalCachedExecutorService extends AbstractExecutorService<ThreadPoolExecutor>
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CORE_POOL_SIZE
The core thread pool size.
|
static long |
DEFAULT_KEEP_ALIVE_TIME
Keep alive time in milli seconds.
|
static int |
DEFAULT_MAX_POOL_SIZE
The default maximal pool size.
|
DEFAULT_REPORT_RATE, DEFAULT_SHUTDOWN_DELAY, DEFAULT_SHUTDOWN_TIME, DEFAULT_WARNING_RATIO, executorService, logger, SMART_SHUTDOWN_STATUS_PRINT_RATE, SMART_SHUTDOWN_TIMEOUT| Modifier and Type | Method and Description |
|---|---|
static void |
execute(Runnable runnable) |
static GlobalCachedExecutorService |
getInstance() |
static <T> Future<T> |
submit(Callable<T> task) |
static Future<?> |
submit(Runnable task) |
allOf, allOf, allOf, allOf, allOf, allOf, allOf, allOf, allOf, allOf, allOf, allOf, allOf, allOfInclusiveResultFuture, applyErrorHandling, applyErrorHandling, atLeastOne, atLeastOne, atLeastOne, buildFutureCollection, forceShutdown, getExecutorLoad, getExecutorService, internalExecute, internalSubmit, internalSubmit, shutdown, shutdown, smartShutdown, toStringpublic static final long DEFAULT_KEEP_ALIVE_TIME
public static final int DEFAULT_MAX_POOL_SIZE
public static final int DEFAULT_CORE_POOL_SIZE
Copyright © 2015–2017 openbase.org. All rights reserved.