public class AsyncTaskExecutor extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
CPU_COUNT |
protected static List<Future> |
FUTURES |
protected static AtomicBoolean |
STARTED |
protected static AtomicReference<ThreadPoolExecutor> |
THREAD_POOL_REF |
| Constructor and Description |
|---|
AsyncTaskExecutor() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ensureAsyncTasksFinish() |
static boolean |
isStarted() |
static Future |
submitTask(org.springframework.core.env.Environment environment,
Runnable runnable) |
protected static final int CPU_COUNT
protected static final AtomicReference<ThreadPoolExecutor> THREAD_POOL_REF
protected static final AtomicBoolean STARTED
Copyright © 2021. All rights reserved.