| 程序包 | 说明 |
|---|---|
| com.yomahub.liteflow.flow.parallel | |
| com.yomahub.liteflow.flow.parallel.strategy |
| 限定符和类型 | 方法和说明 |
|---|---|
static WhenFutureObj |
WhenFutureObj.fail(String executorId,
Exception ex) |
WhenFutureObj |
ParallelSupplier.get() |
static WhenFutureObj |
WhenFutureObj.success(String executorId) |
static WhenFutureObj |
WhenFutureObj.timeOut(String executorId) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected List<CompletableFuture<WhenFutureObj>> |
ParallelStrategyExecutor.getWhenAllTaskList(WhenCondition whenCondition,
Integer slotIndex)
获取所有任务 CompletableFuture 集合
|
protected CompletableFuture<WhenFutureObj> |
ParallelStrategyExecutor.wrappedFutureObj(Executable executable,
ExecutorService parallelExecutor,
WhenCondition whenCondition,
String currChainId,
Integer slotIndex)
封装 CompletableFuture 对象
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
ParallelStrategyExecutor.handleTaskResult(WhenCondition whenCondition,
Integer slotIndex,
List<CompletableFuture<WhenFutureObj>> whenAllFutureList,
CompletableFuture<?> specifyTask)
任务结果处理
|
Copyright © 2024. All rights reserved.