Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
X
XXL-JOB
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
靳帅
XXL-JOB
Commits
a5938fb2
提交
a5938fb2
authored
11月 13, 2016
作者:
xueli.xue
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1、升级版本1.5.1-SNAPSHOT版本;
2、代码优化,POM清理; 3、Spring升级至3.2.17.RELEASE版本;
上级
13361ace
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
19 行增加
和
19 行删除
+19
-19
README.md
README.md
+6
-2
pom.xml
pom.xml
+1
-1
pom.xml
xxl-job-admin/pom.xml
+4
-5
XxlJobRegistryDaoImpl.java
...ava/com/xxl/job/admin/dao/impl/XxlJobRegistryDaoImpl.java
+2
-2
pom.xml
xxl-job-core/pom.xml
+2
-5
DBUtil.java
xxl-job-core/src/main/java/com/xxl/job/core/util/DBUtil.java
+1
-1
pom.xml
xxl-job-executor-example/pom.xml
+3
-3
没有找到文件。
README.md
浏览文件 @
a5938fb2
...
@@ -685,9 +685,13 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
...
@@ -685,9 +685,13 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
-
7、表结构调整,底层重构优化;
-
7、表结构调整,底层重构优化;
-
8、"调度中心"自动注册和发现,failover: 调度中心周期性自动注册, 任务回调时可以感知在线的所有调度中心地址, 通过failover的方式进行任务回调,避免回调单点风险。
-
8、"调度中心"自动注册和发现,failover: 调度中心周期性自动注册, 任务回调时可以感知在线的所有调度中心地址, 通过failover的方式进行任务回调,避免回调单点风险。
#### 6.10 版本 V1.5.1 特性
-
1、代码优化,POM清理;
-
2、Spring升级至3.2.17.RELEASE版本;
-
3、Jetty升级新版本;
-
4、集群执行器选择规则自定义:单点=选择第一个,随机=随机选择一个;
#### 规划中
#### 规划中
-
1、集群执行器选择规则自定义:选择第一个,或者随机等;
-
2、升级jetty,spring等版本;
-
3、任务执行规则自定义:假如前一个任务正在执行,后续调度执行规则支持自定义;
-
3、任务执行规则自定义:假如前一个任务正在执行,后续调度执行规则支持自定义;
串行(默认,当前逻辑):后续调度入调度队列;
串行(默认,当前逻辑):后续调度入调度队列;
并行:后续调度并行执行;
并行:后续调度并行执行;
...
...
pom.xml
浏览文件 @
a5938fb2
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.xuxueli
</groupId>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-job
</artifactId>
<artifactId>
xxl-job
</artifactId>
<version>
1.5.
0
</version>
<version>
1.5.
1-SNAPSHOT
</version>
<packaging>
pom
</packaging>
<packaging>
pom
</packaging>
<name>
xxl-job
</name>
<name>
xxl-job
</name>
...
...
xxl-job-admin/pom.xml
浏览文件 @
a5938fb2
...
@@ -4,14 +4,14 @@
...
@@ -4,14 +4,14 @@
<parent>
<parent>
<groupId>
com.xuxueli
</groupId>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-job
</artifactId>
<artifactId>
xxl-job
</artifactId>
<version>
1.5.
0
</version>
<version>
1.5.
1-SNAPSHOT
</version>
</parent>
</parent>
<artifactId>
xxl-job-admin
</artifactId>
<artifactId>
xxl-job-admin
</artifactId>
<packaging>
war
</packaging>
<packaging>
war
</packaging>
<properties>
<properties>
<xxl-job.version>
1.5.
0
</xxl-job.version>
<xxl-job.version>
1.5.
1-SNAPSHOT
</xxl-job.version>
<spring.version>
3.2.1
4
.RELEASE
</spring.version>
<spring.version>
3.2.1
7
.RELEASE
</spring.version>
</properties>
</properties>
<dependencies>
<dependencies>
...
@@ -82,13 +82,12 @@
...
@@ -82,13 +82,12 @@
<groupId>
javax.servlet
</groupId>
<groupId>
javax.servlet
</groupId>
<artifactId>
servlet-api
</artifactId>
<artifactId>
servlet-api
</artifactId>
<version>
2.5
</version>
<version>
2.5
</version>
<
scope>
provided
</scope
>
<
!--<scope>provided</scope>--
>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
javax.servlet.jsp
</groupId>
<groupId>
javax.servlet.jsp
</groupId>
<artifactId>
jsp-api
</artifactId>
<artifactId>
jsp-api
</artifactId>
<version>
2.1
</version>
<version>
2.1
</version>
<scope>
provided
</scope>
</dependency>
</dependency>
<!-- junit -->
<!-- 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 {
...
@@ -31,7 +31,7 @@ public class XxlJobRegistryDaoImpl implements IXxlJobRegistryDao {
@Override
@Override
public
int
registryUpdate
(
String
registryGroup
,
String
registryKey
,
String
registryValue
)
{
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
(
"registryGroup"
,
registryGroup
);
params
.
put
(
"registryKey"
,
registryKey
);
params
.
put
(
"registryKey"
,
registryKey
);
params
.
put
(
"registryValue"
,
registryValue
);
params
.
put
(
"registryValue"
,
registryValue
);
...
@@ -41,7 +41,7 @@ public class XxlJobRegistryDaoImpl implements IXxlJobRegistryDao {
...
@@ -41,7 +41,7 @@ public class XxlJobRegistryDaoImpl implements IXxlJobRegistryDao {
@Override
@Override
public
int
registrySave
(
String
registryGroup
,
String
registryKey
,
String
registryValue
)
{
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
(
"registryGroup"
,
registryGroup
);
params
.
put
(
"registryKey"
,
registryKey
);
params
.
put
(
"registryKey"
,
registryKey
);
params
.
put
(
"registryValue"
,
registryValue
);
params
.
put
(
"registryValue"
,
registryValue
);
...
...
xxl-job-core/pom.xml
浏览文件 @
a5938fb2
...
@@ -4,13 +4,13 @@
...
@@ -4,13 +4,13 @@
<parent>
<parent>
<groupId>
com.xuxueli
</groupId>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-job
</artifactId>
<artifactId>
xxl-job
</artifactId>
<version>
1.5.
0
</version>
<version>
1.5.
1-SNAPSHOT
</version>
</parent>
</parent>
<artifactId>
xxl-job-core
</artifactId>
<artifactId>
xxl-job-core
</artifactId>
<packaging>
jar
</packaging>
<packaging>
jar
</packaging>
<properties>
<properties>
<spring.version>
3.2.1
4
.RELEASE
</spring.version>
<spring.version>
3.2.1
7
.RELEASE
</spring.version>
</properties>
</properties>
<dependencies>
<dependencies>
...
@@ -19,13 +19,11 @@
...
@@ -19,13 +19,11 @@
<groupId>
javax.servlet
</groupId>
<groupId>
javax.servlet
</groupId>
<artifactId>
servlet-api
</artifactId>
<artifactId>
servlet-api
</artifactId>
<version>
2.5
</version>
<version>
2.5
</version>
<scope>
provided
</scope>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
javax.servlet.jsp
</groupId>
<groupId>
javax.servlet.jsp
</groupId>
<artifactId>
jsp-api
</artifactId>
<artifactId>
jsp-api
</artifactId>
<version>
2.1
</version>
<version>
2.1
</version>
<scope>
provided
</scope>
</dependency>
</dependency>
<!-- jetty -->
<!-- jetty -->
...
@@ -61,7 +59,6 @@
...
@@ -61,7 +59,6 @@
<groupId>
org.springframework
</groupId>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
<artifactId>
spring-context
</artifactId>
<version>
${spring.version}
</version>
<version>
${spring.version}
</version>
<scope>
compile
</scope>
</dependency>
</dependency>
<!-- groovy-all -->
<!-- groovy-all -->
...
...
xxl-job-core/src/main/java/com/xxl/job/core/util/DBUtil.java
浏览文件 @
a5938fb2
...
@@ -78,7 +78,7 @@ public class DBUtil {
...
@@ -78,7 +78,7 @@ public class DBUtil {
private
static
List
<
Map
<
String
,
Object
>>
resultSetToList
(
ResultSet
resultSet
)
throws
SQLException
{
private
static
List
<
Map
<
String
,
Object
>>
resultSetToList
(
ResultSet
resultSet
)
throws
SQLException
{
if
(
resultSet
==
null
)
{
if
(
resultSet
==
null
)
{
return
Collections
.
EMPTY_LIST
;
return
new
ArrayList
<
Map
<
String
,
Object
>>()
;
}
}
ResultSetMetaData
resultSetMetaData
=
resultSet
.
getMetaData
();
// 得到结果集(rs)的结构信息,比如字段数、字段名等
ResultSetMetaData
resultSetMetaData
=
resultSet
.
getMetaData
();
// 得到结果集(rs)的结构信息,比如字段数、字段名等
...
...
xxl-job-executor-example/pom.xml
浏览文件 @
a5938fb2
...
@@ -4,14 +4,14 @@
...
@@ -4,14 +4,14 @@
<parent>
<parent>
<groupId>
com.xuxueli
</groupId>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-job
</artifactId>
<artifactId>
xxl-job
</artifactId>
<version>
1.5.
0
</version>
<version>
1.5.
1-SNAPSHOT
</version>
</parent>
</parent>
<artifactId>
xxl-job-executor-example
</artifactId>
<artifactId>
xxl-job-executor-example
</artifactId>
<packaging>
war
</packaging>
<packaging>
war
</packaging>
<properties>
<properties>
<xxl-job.version>
1.5.
0
</xxl-job.version>
<xxl-job.version>
1.5.
1-SNAPSHOT
</xxl-job.version>
<spring.version>
3.2.1
4
.RELEASE
</spring.version>
<spring.version>
3.2.1
7
.RELEASE
</spring.version>
</properties>
</properties>
<dependencies>
<dependencies>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论