task

Just learn how to do a task

License

License

GroupId

GroupId

com.github.jclww
ArtifactId

ArtifactId

task
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

pom
Description

Description

task
Just learn how to do a task
Project URL

Project URL

https://github.com/jclww/task
Project Organization

Project Organization

Pivotal Software, Inc.
Source Code Management

Source Code Management

https://github.com/jclww/task

Download task

Filename Size
task-1.0.0.pom 9 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.jclww/task/ -->
<dependency>
    <groupId>com.github.jclww</groupId>
    <artifactId>task</artifactId>
    <version>1.0.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.jclww/task/
implementation 'com.github.jclww:task:1.0.0'
// https://jarcasting.com/artifacts/com.github.jclww/task/
implementation ("com.github.jclww:task:1.0.0")
'com.github.jclww:task:pom:1.0.0'
<dependency org="com.github.jclww" name="task" rev="1.0.0">
  <artifact name="task" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.github.jclww', module='task', version='1.0.0')
)
libraryDependencies += "com.github.jclww" % "task" % "1.0.0"
[com.github.jclww/task "1.0.0"]

Dependencies

compile (12)

Group / Artifact Type Version
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

Project Modules

  • web
  • service
  • executor
  • dal
  • domain

定时任务调度

任务扫描模块

定时获取任务,并且修改任务的下一次执行时间。并提交到队列中。

任务处理模块

从任务队列中取出任务,并针对不同任务类型(目前只有Http请求任务)创建不同的任务分发执行线程,丢到线程池执行。

分发模块

处理任务需要执行的任务(现在只有http任务)

image

Versions

Version
1.0.0