升级成2.11.4.1,补丁版本

This commit is contained in:
everywhere.z
2024-01-18 11:48:25 +08:00
parent 7a9726863d
commit cfc1994fd4
3 changed files with 6 additions and 10 deletions

View File

@@ -93,15 +93,7 @@ public abstract class ParallelStrategyExecutor {
// 1.先进行过滤,前置和后置组件过滤掉,因为在 EL Chain 处理的时候已经提出来了
// 2.过滤 isAccess 为 false 的情况,因为不过滤这个的话,如果加上了 any那么 isAccess 为 false 那就是最快的了
Stream<Executable> stream = executableList.stream()
.filter(executable -> !(executable instanceof PreCondition) && !(executable instanceof FinallyCondition))
.filter(executable -> {
try {
return executable.isAccess(slotIndex);
} catch (Exception e) {
LOG.error("there was an error when executing the when component isAccess", e);
return false;
}
});
.filter(executable -> !(executable instanceof PreCondition) && !(executable instanceof FinallyCondition));
return filterAccess(stream, slotIndex);
}

View File

@@ -17,5 +17,4 @@ public class ACmp extends NodeComponent {
public void process() {
System.out.println("ACmp executed!");
}
}

View File

@@ -18,4 +18,9 @@ public class CCmp extends NodeComponent {
System.out.println("CCmp executed!");
}
@Override
public boolean isAccess() {
System.out.println("hello");
return true;
}
}