| 限定符和类型 | 方法和说明 |
|---|---|
Executable |
TagOperator.build(Object[] objects) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BaseOperator<T extends Executable>
BaseOperator 为了强化 executeInner 方法,会捕获抛出的 QLException 错误,输出友好的错误提示
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
Chain
chain对象,实现可执行器
|
class |
Condition
Condition的抽象类
|
class |
FallbackNode
降级组件代理
|
class |
Node
Node节点,实现可执行器 Node节点并不是单例的,每构建一次都会copy出一个新的实例
|
| 限定符和类型 | 方法和说明 |
|---|---|
Executable |
Condition.getExecutableOne(String groupKey) |
Executable |
Chain.getRouteItem() |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,List<Executable>> |
Condition.getExecutableGroup() |
List<Executable> |
Condition.getExecutableList() |
List<Executable> |
Condition.getExecutableList(String groupKey) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Condition.addExecutable(Executable executable) |
void |
Condition.addExecutable(String groupKey,
Executable executable) |
void |
Chain.setRouteItem(Executable routeItem) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Condition.setExecutableList(List<Executable> executableList) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractCondition
AbstractCondition,用于标记一个Chain为不可执行的抽象Chain
|
class |
AndOrCondition |
class |
CatchCondition
Catch Condition
|
class |
FinallyCondition
后置Condition
|
class |
ForCondition
循环次数Condition
|
class |
IfCondition
条件Condition
|
class |
IteratorCondition |
class |
LoopCondition
循环Condition的抽象类 主要继承对象有ForCondition和WhileCondition
|
class |
NotCondition |
class |
PreCondition
前置Condition
|
class |
RetryCondition |
class |
SwitchCondition
选择Condition
|
class |
ThenCondition
串行器
|
class |
TimeoutCondition
超时控制 Condition
|
class |
WhenCondition
并行器
|
class |
WhileCondition
循环条件Condition
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected Executable |
LoopCondition.getBreakItem() |
Executable |
CatchCondition.getCatchItem() |
Executable |
SwitchCondition.getDefaultExecutor() |
protected Executable |
LoopCondition.getDoExecutor() |
Executable |
CatchCondition.getDoItem() |
Executable |
IfCondition.getFalseCaseExecutableItem() |
Executable |
IfCondition.getIfItem() |
Executable |
NotCondition.getItem() |
Executable |
IfCondition.getTrueCaseExecutableItem() |
Executable |
WhileCondition.getWhileItem() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Executable> |
AndOrCondition.getItem() |
List<Executable> |
SwitchCondition.getTargetList() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ThenCondition.addExecutable(Executable executable) |
void |
AndOrCondition.addItem(Executable item) |
void |
SwitchCondition.addTargetItem(Executable executable) |
protected void |
LoopCondition.removeCurrLoopObject(Executable executableItem) |
protected void |
LoopCondition.removeLoopIndex(Executable executableItem) |
void |
LoopCondition.setBreakItem(Executable breakNode) |
void |
CatchCondition.setCatchItem(Executable executable) |
protected void |
LoopCondition.setCurrLoopObject(Executable executableItem,
Object obj) |
void |
SwitchCondition.setDefaultExecutor(Executable defaultExecutor) |
void |
LoopCondition.setDoExecutor(Executable executable) |
void |
CatchCondition.setDoItem(Executable executable) |
void |
IfCondition.setFalseCaseExecutableItem(Executable falseCaseExecutableItem) |
void |
IfCondition.setIfItem(Executable ifNode) |
void |
NotCondition.setItem(Executable item) |
protected void |
LoopCondition.setLoopIndex(Executable executableItem,
int index) |
void |
IfCondition.setTrueCaseExecutableItem(Executable trueCaseExecutableItem) |
void |
WhileCondition.setWhileItem(Executable whileItem) |
| 构造器和说明 |
|---|
LoopParallelSupplier(Executable executableItem,
String currChainId,
Integer slotIndex,
Integer loopIndex) |
LoopParallelSupplier(Executable executableItem,
String currChainId,
Integer slotIndex,
Integer loopIndex,
Object itObj) |
| 构造器和说明 |
|---|
ParallelSupplier(Executable executableItem,
String currChainId,
Integer slotIndex) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Stream<Executable> |
AllOfParallelExecutor.filterAccess(Stream<Executable> stream,
Integer slotIndex,
String currentChainId) |
protected Stream<Executable> |
ParallelStrategyExecutor.filterAccess(Stream<Executable> stream,
Integer slotIndex,
String currentChainId) |
protected Stream<Executable> |
ParallelStrategyExecutor.filterWhenTaskList(List<Executable> executableList,
Integer slotIndex,
String currentChainId)
过滤 WHEN 待执行任务
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected CompletableFuture<WhenFutureObj> |
ParallelStrategyExecutor.wrappedFutureObj(Executable executable,
ExecutorService parallelExecutor,
WhenCondition whenCondition,
String currChainId,
Integer slotIndex)
封装 CompletableFuture 对象
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected Stream<Executable> |
AllOfParallelExecutor.filterAccess(Stream<Executable> stream,
Integer slotIndex,
String currentChainId) |
protected Stream<Executable> |
ParallelStrategyExecutor.filterAccess(Stream<Executable> stream,
Integer slotIndex,
String currentChainId) |
protected Stream<Executable> |
ParallelStrategyExecutor.filterWhenTaskList(List<Executable> executableList,
Integer slotIndex,
String currentChainId)
过滤 WHEN 待执行任务
|
Copyright © 2024. All rights reserved.