Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
LFFZC
xxl-job
提交
a5938fb2
X
xxl-job
项目概览
LFFZC
/
xxl-job
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
xxl-job
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
a5938fb2
编写于
11月 13, 2016
作者:
X
xueli.xue
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1、升级版本1.5.1-SNAPSHOT版本;
2、代码优化,POM清理; 3、Spring升级至3.2.17.RELEASE版本;
上级
13361ace
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
19 addition
and
19 deletion
+19
-19
README.md
README.md
+6
-2
pom.xml
pom.xml
+1
-1
xxl-job-admin/pom.xml
xxl-job-admin/pom.xml
+4
-5
xxl-job-admin/src/main/java/com/xxl/job/admin/dao/impl/XxlJobRegistryDaoImpl.java
...ava/com/xxl/job/admin/dao/impl/XxlJobRegistryDaoImpl.java
+2
-2
xxl-job-core/pom.xml
xxl-job-core/pom.xml
+2
-5
xxl-job-core/src/main/java/com/xxl/job/core/util/DBUtil.java
xxl-job-core/src/main/java/com/xxl/job/core/util/DBUtil.java
+1
-1
xxl-job-executor-example/pom.xml
xxl-job-executor-example/pom.xml
+3
-3
未找到文件。
README.md
浏览文件 @
a5938fb2
...
...
@@ -685,9 +685,13 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
-
7、表结构调整,底层重构优化;
-
8、"调度中心"自动注册和发现,failover: 调度中心周期性自动注册, 任务回调时可以感知在线的所有调度中心地址, 通过failover的方式进行任务回调,避免回调单点风险。
#### 6.10 版本 V1.5.1 特性
-
1、代码优化,POM清理;
-
2、Spring升级至3.2.17.RELEASE版本;
-
3、Jetty升级新版本;
-
4、集群执行器选择规则自定义:单点=选择第一个,随机=随机选择一个;
#### 规划中
-
1、集群执行器选择规则自定义:选择第一个,或者随机等;
-
2、升级jetty,spring等版本;
-
3、任务执行规则自定义:假如前一个任务正在执行,后续调度执行规则支持自定义;
串行(默认,当前逻辑):后续调度入调度队列;
并行:后续调度并行执行;
...
...
pom.xml
浏览文件 @
a5938fb2
...
...
@@ -3,7 +3,7 @@
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-job
</artifactId>
<version>
1.5.
0
</version>
<version>
1.5.
1-SNAPSHOT
</version>
<packaging>
pom
</packaging>
<name>
xxl-job
</name>
...
...
xxl-job-admin/pom.xml
浏览文件 @
a5938fb2
...
...
@@ -4,14 +4,14 @@
<parent>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-job
</artifactId>
<version>
1.5.
0
</version>
<version>
1.5.
1-SNAPSHOT
</version>
</parent>
<artifactId>
xxl-job-admin
</artifactId>
<packaging>
war
</packaging>
<properties>
<xxl-job.version>
1.5.
0
</xxl-job.version>
<spring.version>
3.2.1
4
.RELEASE
</spring.version>
<xxl-job.version>
1.5.
1-SNAPSHOT
</xxl-job.version>
<spring.version>
3.2.1
7
.RELEASE
</spring.version>
</properties>
<dependencies>
...
...
@@ -82,13 +82,12 @@
<groupId>
javax.servlet
</groupId>
<artifactId>
servlet-api
</artifactId>
<version>
2.5
</version>
<
scope>
provided
</scope
>
<
!--<scope>provided</scope>--
>
</dependency>
<dependency>
<groupId>
javax.servlet.jsp
</groupId>
<artifactId>
jsp-api
</artifactId>
<version>
2.1
</version>
<scope>
provided
</scope>
</dependency>
<!-- junit -->
...
...
xxl-job-admin/src/main/java/com/xxl/job/admin/dao/impl/XxlJobRegistryDaoImpl.java
浏览文件 @
a5938fb2
...
...
@@ -31,7 +31,7 @@ public class XxlJobRegistryDaoImpl implements IXxlJobRegistryDao {
@Override
public
int
registryUpdate
(
String
registryGroup
,
String
registryKey
,
String
registryValue
)
{
Map
<
String
,
Object
>
params
=
new
HashMap
();
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>
();
params
.
put
(
"registryGroup"
,
registryGroup
);
params
.
put
(
"registryKey"
,
registryKey
);
params
.
put
(
"registryValue"
,
registryValue
);
...
...
@@ -41,7 +41,7 @@ public class XxlJobRegistryDaoImpl implements IXxlJobRegistryDao {
@Override
public
int
registrySave
(
String
registryGroup
,
String
registryKey
,
String
registryValue
)
{
Map
<
String
,
Object
>
params
=
new
HashMap
();
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>
();
params
.
put
(
"registryGroup"
,
registryGroup
);
params
.
put
(
"registryKey"
,
registryKey
);
params
.
put
(
"registryValue"
,
registryValue
);
...
...
xxl-job-core/pom.xml
浏览文件 @
a5938fb2
...
...
@@ -4,13 +4,13 @@
<parent>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-job
</artifactId>
<version>
1.5.
0
</version>
<version>
1.5.
1-SNAPSHOT
</version>
</parent>
<artifactId>
xxl-job-core
</artifactId>
<packaging>
jar
</packaging>
<properties>
<spring.version>
3.2.1
4
.RELEASE
</spring.version>
<spring.version>
3.2.1
7
.RELEASE
</spring.version>
</properties>
<dependencies>
...
...
@@ -19,13 +19,11 @@
<groupId>
javax.servlet
</groupId>
<artifactId>
servlet-api
</artifactId>
<version>
2.5
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
javax.servlet.jsp
</groupId>
<artifactId>
jsp-api
</artifactId>
<version>
2.1
</version>
<scope>
provided
</scope>
</dependency>
<!-- jetty -->
...
...
@@ -61,7 +59,6 @@
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
<version>
${spring.version}
</version>
<scope>
compile
</scope>
</dependency>
<!-- groovy-all -->
...
...
xxl-job-core/src/main/java/com/xxl/job/core/util/DBUtil.java
浏览文件 @
a5938fb2
...
...
@@ -78,7 +78,7 @@ public class DBUtil {
private
static
List
<
Map
<
String
,
Object
>>
resultSetToList
(
ResultSet
resultSet
)
throws
SQLException
{
if
(
resultSet
==
null
)
{
return
Collections
.
EMPTY_LIST
;
return
new
ArrayList
<
Map
<
String
,
Object
>>()
;
}
ResultSetMetaData
resultSetMetaData
=
resultSet
.
getMetaData
();
// 得到结果集(rs)的结构信息,比如字段数、字段名等
...
...
xxl-job-executor-example/pom.xml
浏览文件 @
a5938fb2
...
...
@@ -4,14 +4,14 @@
<parent>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-job
</artifactId>
<version>
1.5.
0
</version>
<version>
1.5.
1-SNAPSHOT
</version>
</parent>
<artifactId>
xxl-job-executor-example
</artifactId>
<packaging>
war
</packaging>
<properties>
<xxl-job.version>
1.5.
0
</xxl-job.version>
<spring.version>
3.2.1
4
.RELEASE
</spring.version>
<xxl-job.version>
1.5.
1-SNAPSHOT
</xxl-job.version>
<spring.version>
3.2.1
7
.RELEASE
</spring.version>
</properties>
<dependencies>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录