public abstract class NodeExecutor extends Object
| Constructor and Description |
|---|
NodeExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(NodeComponent instance)
执行器执行入口-若需要更大维度的执行方式可以重写该方法
|
protected void |
retry(NodeComponent instance,
int currentRetryCount)
执行重试逻辑 - 子类通过实现该方法进行重试逻辑的控制
|
protected final LFLog LOG
public void execute(NodeComponent instance) throws Exception
instance - instanceException - 执行过程中抛的错protected void retry(NodeComponent instance, int currentRetryCount) throws Exception
instance - instancecurrentRetryCount - currentRetryCountException - 抛出重试执行过程中的错Copyright © 2025. All rights reserved.