Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
06c909c4
authored
Feb 24, 2017
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
更新RM
parent
ce270b79
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
README.md
xxl-job-core/src/main/java/com/xxl/job/core/executor/jetty/XxlJobExecutor.java
README.md
View file @
06c909c4
...
@@ -711,13 +711,10 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
...
@@ -711,13 +711,10 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
#### 规划中
#### 规划中
-
1、执行器支持手动设置执行地址列表,提供开关切换使用注册地址还是手动设置的地址;
-
1、执行器支持手动设置执行地址列表,提供开关切换使用注册地址还是手动设置的地址;
-
2、
集群执行器选择规则自定义:单点=选择第一个,随机=随机选择一个
;
-
2、
执行器路由规则:第一个、循环、随机、顺序故障(默认)转移
;
-
3、支持脚本JOB, 即shell/python/php等, glue实现;
-
3、支持脚本JOB, 即shell/python/php等, glue实现;
-
4、任务执行规则自定义:假如前一个任务正在执行,后续调度执行规则支持自定义;
-
4、任务并行触发处理规则:串行调度队列(默认)、并行、忽略、覆盖;
串行(默认,当前逻辑):后续调度入调度队列;
-
5、任务权限管理;
并行:后续调度并行执行;
Pass:后续调度被Pass;
-
5、后续优化:任务权限系统;
-
6、rolling日志;
-
6、rolling日志;
-
7、执行器,server启动,注册逻辑调整;
-
7、执行器,server启动,注册逻辑调整;
-
8、通过listener或stop方法,容器销毁时销毁线程;Daemon方式有时不太理想;
-
8、通过listener或stop方法,容器销毁时销毁线程;Daemon方式有时不太理想;
...
...
xxl-job-core/src/main/java/com/xxl/job/core/executor/jetty/XxlJobExecutor.java
View file @
06c909c4
...
@@ -45,7 +45,7 @@ public class XxlJobExecutor implements ApplicationContextAware {
...
@@ -45,7 +45,7 @@ public class XxlJobExecutor implements ApplicationContextAware {
}
}
// ---------------------------------- job server ------------------------------------
// ---------------------------------- job server ------------------------------------
Server
server
=
null
;
private
Server
server
=
null
;
public
void
start
()
throws
Exception
{
public
void
start
()
throws
Exception
{
Thread
executorTnread
=
new
Thread
(
new
Runnable
()
{
Thread
executorTnread
=
new
Thread
(
new
Runnable
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment