feature #I7HJFX 为异步循环添加测试用例,添加异步循环相关配置参数的读取代码

This commit is contained in:
zy
2023-07-03 20:48:12 +08:00
parent 25a99a97d1
commit be68ceedec
24 changed files with 584 additions and 3 deletions

View File

@@ -80,6 +80,14 @@ public class LiteflowProperty {
// 规则文件/脚本文件变更监听
private Boolean enableMonitorFile;
private String parallelLoopExecutorClass;
//使用默认并行循环线程池时,最大线程数
private Integer parallelMaxWorkers;
//使用默认并行循环线程池时,最大队列数
private Integer parallelQueueLimit;
public Boolean getEnableMonitorFile() {
return enableMonitorFile;
}
@@ -257,4 +265,28 @@ public class LiteflowProperty {
public void setWhenMaxWaitTimeUnit(TimeUnit whenMaxWaitTimeUnit) {
this.whenMaxWaitTimeUnit = whenMaxWaitTimeUnit;
}
public String getParallelLoopExecutorClass() {
return parallelLoopExecutorClass;
}
public void setParallelLoopExecutorClass(String parallelLoopExecutorClass) {
this.parallelLoopExecutorClass = parallelLoopExecutorClass;
}
public Integer getParallelMaxWorkers() {
return parallelMaxWorkers;
}
public void setParallelMaxWorkers(Integer parallelMaxWorkers) {
this.parallelMaxWorkers = parallelMaxWorkers;
}
public Integer getParallelQueueLimit() {
return parallelQueueLimit;
}
public void setParallelQueueLimit(Integer parallelQueueLimit) {
this.parallelQueueLimit = parallelQueueLimit;
}
}