任务定时调度器 redtimer

码农软件 · 软件分类 · 作业/任务调度 · 2019-09-04 05:58:55

软件介绍

redtimer

项目介绍

redtimer是本人纯手工精心编写的一个java任务定时调度器,全部代码均自己编写实现; 功能包含定时和时间解析两部分功能; 编写她的意图,用更少的代码满足自己的业务功能需求,让其他业务代码更佳的随心所欲;

为什么叫red,因为喜欢redkale,所以就加个red开头了,包括其他redbbs,可能以后更多redxxxx项目的产生,(也挺喜欢jfinal的,可能也会起个Jabc,开玩笑的); 项目地址:https://gitee.com/tc608/redtimer

软件架构

安装使用教程

创建启动定时任务

TimerExecutor timerExecutor = new TimerExecutor(1);
Task task1 = new TaskImpl("a1", new ScheduledExpres("1-40 * * * *"));//1-40,定时每分钟执行
Task task2 = new TaskImpl("a1", new ScheduledCycle(1000 * 5));//a2定时每5s执行

timerExecutor.add(task1, task2);//添加任务 task1,task2

支持定时计划修改

//修改a1 每2s执行一次
task.setScheduled(new ScheduledCycle(2000 * 1));
timerExecutor.add(task);

请看测试案例,以及阅读详细源码,所有的代码也就几百行。

本文地址:https://www.codercto.com/soft/d/13828.html

Web Security, Privacy and Commerce, 2nd Edition

Web Security, Privacy and Commerce, 2nd Edition

Simson Garfinkel / O'Reilly Media / 2002-01-15 / USD 44.95

Since the first edition of this classic reference was published, World Wide Web use has exploded and e-commerce has become a daily part of business and personal life. As Web use has grown, so have ......一起来看看 《Web Security, Privacy and Commerce, 2nd Edition》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具