xueli.xue 8 years ago
parent
commit
06c909c475

+ 3 - 6
README.md View File

@@ -711,13 +711,10 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
711 711
 
712 712
 #### 规划中
713 713
 - 1、执行器支持手动设置执行地址列表,提供开关切换使用注册地址还是手动设置的地址;
714
-- 2、集群执行器选择规则自定义:单点=选择第一个,随机=随机选择一个
714
+- 2、执行器路由规则:第一个、循环、随机、顺序故障(默认)转移
715 715
 - 3、支持脚本JOB, 即shell/python/php等, glue实现;
716
-- 4、任务执行规则自定义:假如前一个任务正在执行,后续调度执行规则支持自定义;
717
-    串行(默认,当前逻辑):后续调度入调度队列;
718
-    并行:后续调度并行执行;
719
-    Pass:后续调度被Pass;
720
-- 5、后续优化:任务权限系统;
716
+- 4、任务并行触发处理规则:串行调度队列(默认)、并行、忽略、覆盖;
717
+- 5、任务权限管理;
721 718
 - 6、rolling日志;
722 719
 - 7、执行器,server启动,注册逻辑调整;
723 720
 - 8、通过listener或stop方法,容器销毁时销毁线程;Daemon方式有时不太理想;

+ 1 - 1
xxl-job-core/src/main/java/com/xxl/job/core/executor/jetty/XxlJobExecutor.java View File

@@ -45,7 +45,7 @@ public class XxlJobExecutor implements ApplicationContextAware {
45 45
     }
46 46
 
47 47
     // ---------------------------------- job server ------------------------------------
48
-    Server server = null;
48
+    private Server server = null;
49 49
     public void start() throws Exception {
50 50
 
51 51
         Thread executorTnread = new Thread(new Runnable() {