定时任务调度
任务扫描模块
定时获取任务,并且修改任务的下一次执行时间。并提交到队列中。
任务处理模块
从任务队列中取出任务,并针对不同任务类型(目前只有Http请求任务)创建不同的任务分发执行线程,丢到线程池执行。
分发模块
处理任务需要执行的任务(现在只有http任务)
License |
License |
---|---|
GroupId | GroupIdcom.github.jclww |
ArtifactId | ArtifactIdexecutor |
Last Version | Last Version1.0.0 |
Release Date | Release Date |
Type | Typejar |
Description |
DescriptionJust learn how to do a task
|
Project Organization |
Project Organization |
Filename | Size |
---|---|
executor-1.0.0.pom | |
executor-1.0.0.jar | 18 KB |
executor-1.0.0-sources.jar | 8 KB |
executor-1.0.0-javadoc.jar | 68 KB |
Browse |
<!-- https://jarcasting.com/artifacts/com.github.jclww/executor/ -->
<dependency>
<groupId>com.github.jclww</groupId>
<artifactId>executor</artifactId>
<version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.jclww/executor/
implementation 'com.github.jclww:executor:1.0.0'
// https://jarcasting.com/artifacts/com.github.jclww/executor/
implementation ("com.github.jclww:executor:1.0.0")
'com.github.jclww:executor:jar:1.0.0'
<dependency org="com.github.jclww" name="executor" rev="1.0.0">
<artifact name="executor" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.jclww', module='executor', version='1.0.0')
)
libraryDependencies += "com.github.jclww" % "executor" % "1.0.0"
[com.github.jclww/executor "1.0.0"]
Group / Artifact | Type | Version |
---|---|---|
com.github.jclww : service | jar | 1.0.0 |
org.projectlombok : lombok | jar | 1.16.16 |
org.apache.httpcomponents : httpclient | jar | 4.5.3 |
org.apache.httpcomponents : httpasyncclient | jar | 4.1.3 |
commons-collections : commons-collections | jar | 3.2.2 |
org.springframework.boot : spring-boot-starter-aop | jar | 1.5.3.RELEASE |
org.mybatis.spring.boot : mybatis-spring-boot-starter | jar | 1.3.0 |
org.springframework.boot : spring-boot-starter-web | jar | 1.5.3.RELEASE |
org.springframework.boot : spring-boot-starter-freemarker | jar | 1.5.3.RELEASE |
mysql : mysql-connector-java | jar | 5.1.40 |
org.springframework.boot : spring-boot-starter-data-redis | jar | 1.5.3.RELEASE |
com.alibaba : fastjson | jar | 1.2.32 |
com.alibaba : druid | jar | 1.1.5 |
ma.glasnost.orika : orika-core | jar | 1.5.1 |
com.google.guava : guava | jar | 19.0 |
org.apache.commons : commons-lang3 | jar | 3.6 |
定时获取任务,并且修改任务的下一次执行时间。并提交到队列中。
从任务队列中取出任务,并针对不同任务类型(目前只有Http请求任务)创建不同的任务分发执行线程,丢到线程池执行。
处理任务需要执行的任务(现在只有http任务)