| 程序包 | 说明 |
|---|---|
| com.yomahub.liteflow.builder.el.operator | |
| com.yomahub.liteflow.flow.element.condition | |
| com.yomahub.liteflow.flow.parallel.strategy |
| 限定符和类型 | 方法和说明 |
|---|---|
WhenCondition |
MustOperator.build(Object[] objects) |
WhenCondition |
WhenOperator.build(Object[] objects) |
WhenCondition |
ThreadPoolOperator.build(Object[] objects) |
WhenCondition |
AnyOperator.build(Object[] objects) |
WhenCondition |
IgnoreErrorOperator.build(Object[] objects) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
TimeoutCondition
超时控制 Condition
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SpecifyParallelExecutor.execute(WhenCondition whenCondition,
Integer slotIndex) |
void |
AnyOfParallelExecutor.execute(WhenCondition whenCondition,
Integer slotIndex) |
void |
AllOfParallelExecutor.execute(WhenCondition whenCondition,
Integer slotIndex) |
abstract void |
ParallelStrategyExecutor.execute(WhenCondition whenCondition,
Integer slotIndex) |
protected List<CompletableFuture<WhenFutureObj>> |
ParallelStrategyExecutor.getWhenAllTaskList(WhenCondition whenCondition,
Integer slotIndex)
获取所有任务 CompletableFuture 集合
|
protected ExecutorService |
ParallelStrategyExecutor.getWhenExecutorService(WhenCondition whenCondition)
获取 WHEN 所需线程池
|
protected void |
ParallelStrategyExecutor.handleTaskResult(WhenCondition whenCondition,
Integer slotIndex,
List<CompletableFuture<WhenFutureObj>> whenAllFutureList,
CompletableFuture<?> specifyTask)
任务结果处理
|
protected void |
ParallelStrategyExecutor.setWhenConditionParams(WhenCondition whenCondition)
设置 WhenCondition 参数
|
protected CompletableFuture<WhenFutureObj> |
ParallelStrategyExecutor.wrappedFutureObj(Executable executable,
ExecutorService parallelExecutor,
WhenCondition whenCondition,
String currChainId,
Integer slotIndex)
封装 CompletableFuture 对象
|
Copyright © 2024. All rights reserved.