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
4c6e08c5
authored
Dec 04, 2015
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Plain Diff
init
parents
16cb2560
6d1ccb1a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
xxl-job-admin/src/main/java/com/xxl/controller/IndexController.java
xxl-job-admin/src/main/webapp/WEB-INF/template/job/help.ftl
xxl-job-admin/src/test/java/quartz/JunitTest.java
xxl-job-admin/src/main/java/com/xxl/controller/IndexController.java
View file @
4c6e08c5
...
...
@@ -52,7 +52,7 @@ public class IndexController {
e1
.
printStackTrace
();
}
if
(
clazz
==
null
)
{
return
new
ReturnT
<
String
>(
500
,
"
请输入“任务Impl”
"
);
return
new
ReturnT
<
String
>(
500
,
"
“任务Impl”不合法
"
);
}
if
(!
Job
.
class
.
isAssignableFrom
(
clazz
))
{
return
new
ReturnT
<
String
>(
500
,
"“任务Impl”类必须继承Job接口"
);
...
...
xxl-job-admin/src/main/webapp/WEB-INF/template/job/help.ftl
View file @
4c6e08c5
...
...
@@ -27,15 +27,15 @@
<section
class=
"content"
>
<div
class=
"callout callout-info"
>
<h4>
简介:xxl-job
</h4>
<p>
分布式配置管理平台:一套完整的基于zookeeper的分布式配置统一解决方案
.
</p>
<p>
调度管理平台:基于quartz封装实现的的集群任务调度管理平台
.
</p>
<p></p>
</div>
<div
class=
"callout callout-info"
>
<h4>
主要目标
:
</h4>
<p>
1、简
化部署:同一个上线包,无须改动配置,即可在 多个环境中(研发RD/测试QA/线上PRODUCTION) 上线
.
</p>
<p>
2、动态
部署:更改配置,无需重新打包或重启,即可 实
时生效.
</p>
<p>
3、
统一管理:提供web平台,统一管理 多个环境(RD/QA/PRODUCTION)、多个产品 的所有配置
.
</p>
<h4>
特点
:
</h4>
<p>
1、简
单:支持通过Web页面对任务进行CRUD操作,操作简单,一分钟上手
.
</p>
<p>
2、动态
:支持动态修改任务状态,动态暂停/恢复任务,即
时生效.
</p>
<p>
3、
集群:任务信息持久化到mysql中,支持Job服务器集群(高可用),一个任务只会在其中一台服务器上执行
.
</p>
</div>
</section>
...
...
xxl-job-admin/src/test/java/quartz/JunitTest.java
View file @
4c6e08c5
...
...
@@ -63,4 +63,5 @@ public class JunitTest {
TimeUnit
.
SECONDS
.
sleep
(
30
);
}
}
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