任务线程停止变量修饰符优化

pull/MERGE
xuxueli 7 years ago
parent 22da65c215
commit 7bd120d191

@ -1201,6 +1201,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
- 10、底层LocalCache组件兼容性优化支持jdk、jdk10编译部署 - 10、底层LocalCache组件兼容性优化支持jdk、jdk10编译部署
- 11、任务回调结果优化支持展示在Rolling log中方便问题排查 - 11、任务回调结果优化支持展示在Rolling log中方便问题排查
- 12、脚本任务异常Log输出优化 - 12、脚本任务异常Log输出优化
- 13、任务线程停止变量修饰符优化
### TODO LIST ### TODO LIST

@ -30,7 +30,7 @@ public class JobThread extends Thread{
private LinkedBlockingQueue<TriggerParam> triggerQueue; private LinkedBlockingQueue<TriggerParam> triggerQueue;
private ConcurrentHashSet<Integer> triggerLogIdSet; // avoid repeat trigger for the same TRIGGER_LOG_ID private ConcurrentHashSet<Integer> triggerLogIdSet; // avoid repeat trigger for the same TRIGGER_LOG_ID
private boolean toStop = false; private volatile boolean toStop = false;
private String stopReason; private String stopReason;
private boolean running = false; // if running job private boolean running = false; // if running job

Loading…
Cancel
Save