public class AsyncExecutor extends Object
| Modifier and Type | Field and Description |
|---|---|
static ThreadPoolExecutor |
POOL |
| Constructor and Description |
|---|
AsyncExecutor() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fork(int workers,
ParallelTask task) |
static void |
fork(ParallelTask task) |
static <T> Future<T> |
submit(Callable<T> task) |
static <T> CombinedFuture<T> |
submitAll(Callable<T>... tasks) |
public static final ThreadPoolExecutor POOL
public static <T> CombinedFuture<T> submitAll(Callable<T>... tasks)
public static void fork(ParallelTask task) throws AsyncException
AsyncExceptionpublic static void fork(int workers,
ParallelTask task)
throws AsyncException
AsyncExceptionCopyright © 2019. All rights reserved.