| Package | Description |
|---|---|
| net.ideahut.springboot.task |
| Modifier and Type | Method and Description |
|---|---|
static <T> TaskResult<T> |
TaskResult.of(T value) |
static <T> TaskResult<T> |
TaskResult.of(Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
List<TaskResult<?>> |
TaskListExecutor.parallelResult() |
Map<Object,TaskResult<?>> |
TaskMapExecutor.parallelResult() |
<T> List<TaskResult<T>> |
TaskHandler.submit(List<Callable<T>> callables) |
<T> List<TaskResult<T>> |
TaskHandler.submit(List<Callable<T>> callables,
Long timeout) |
<T> Map<String,TaskResult<T>> |
TaskHandler.submit(Map<String,Callable<T>> callables) |
<T> Map<String,TaskResult<T>> |
TaskHandler.submit(Map<String,Callable<T>> callables,
Long timeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
TaskListExecutor.ParallelListResult.onParallelListResult(Integer index,
TaskResult<?> result) |
void |
TaskMapExecutor.ParallelMapResult.onParallelMapResult(Object key,
TaskResult<?> result) |
Copyright © 2024. All rights reserved.