定时任务调度
任务扫描模块
定时获取任务,并且修改任务的下一次执行时间。并提交到队列中。
任务处理模块
从任务队列中取出任务,并针对不同任务类型(目前只有Http请求任务)创建不同的任务分发执行线程,丢到线程池执行。
分发模块
处理任务需要执行的任务(现在只有http任务)
License |
License |
---|---|
GroupId | GroupIdcom.github.jclww |
ArtifactId | ArtifactIdweb |
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 |
---|---|
web-1.0.0.pom | |
web-1.0.0.jar | 34 MB |
web-1.0.0-sources.jar | 4 KB |
web-1.0.0-javadoc.jar | 37 KB |
Browse |
<!-- https://jarcasting.com/artifacts/com.github.jclww/web/ -->
<dependency>
<groupId>com.github.jclww</groupId>
<artifactId>web</artifactId>
<version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.jclww/web/
implementation 'com.github.jclww:web:1.0.0'
// https://jarcasting.com/artifacts/com.github.jclww/web/
implementation ("com.github.jclww:web:1.0.0")
'com.github.jclww:web:jar:1.0.0'
<dependency org="com.github.jclww" name="web" rev="1.0.0">
<artifact name="web" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.jclww', module='web', version='1.0.0')
)
libraryDependencies += "com.github.jclww" % "web" % "1.0.0"
[com.github.jclww/web "1.0.0"]
Group / Artifact | Type | Version |
---|---|---|
com.github.jclww : service | jar | 1.0.0 |
com.lww.sparrow.task » executor | jar | 1.0.0 |
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 |
commons-collections : commons-collections | jar | 3.2.2 |
定时获取任务,并且修改任务的下一次执行时间。并提交到队列中。
从任务队列中取出任务,并针对不同任务类型(目前只有Http请求任务)创建不同的任务分发执行线程,丢到线程池执行。
处理任务需要执行的任务(现在只有http任务)