mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
enhancement #I37QVR WhenCondition时候,并发执行目前会每次新建线程可不可走线程池
修正了打印错误的问题
This commit is contained in:
@@ -18,6 +18,12 @@ public class LiteflowProperty {
|
||||
//异步线程最大等待描述
|
||||
private int whenMaxWaitSeconds;
|
||||
|
||||
//异步线程池最大线程数
|
||||
private int whenMaxWorkers;
|
||||
|
||||
//异步线程池最大队列数量
|
||||
private int whenQueueLimit;
|
||||
|
||||
public String getRuleSource() {
|
||||
return ruleSource;
|
||||
}
|
||||
@@ -41,4 +47,20 @@ public class LiteflowProperty {
|
||||
public void setWhenMaxWaitSeconds(int whenMaxWaitSeconds) {
|
||||
this.whenMaxWaitSeconds = whenMaxWaitSeconds;
|
||||
}
|
||||
|
||||
public int getWhenMaxWorkers() {
|
||||
return whenMaxWorkers;
|
||||
}
|
||||
|
||||
public void setWhenMaxWorkers(int whenMaxWorkers) {
|
||||
this.whenMaxWorkers = whenMaxWorkers;
|
||||
}
|
||||
|
||||
public int getWhenQueueLimit() {
|
||||
return whenQueueLimit;
|
||||
}
|
||||
|
||||
public void setWhenQueueLimit(int whenQueueLimit) {
|
||||
this.whenQueueLimit = whenQueueLimit;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user