Quartz 2.0 发布,开源作业调度框架



近日,Quartz 2.0发布了!Quartz是一个开源的作业调度框架,它完全由Java写成,并设计用于J2SE和J2EE应用中。

Quartz提供了巨大的灵活性而不牺牲简单性。你能够用它来为执行一个作业而创建简单的或复杂的调度。它有很多特征,如:数据库支持,集群,插件,EJB作业预构建,JavaMail及其它,支持cron-like表达式等等。

开发者称该版本是Quartz 史上最卓越的版本,提供了很多一直备受期待的API改进,并保证最大程度的兼容性。

重点新功能:
·Scheduler.clear() method provides convenient (and dangerous!) way to remove all jobs, triggers and calendars from the scheduler.
·Scheduler.scheduleJobs(Map<JobDetail, List<Trigger>> triggersAndJobs, boolean replace) method provides convenient bulk addition of jobs and triggers.
·Scheduler.unscheduleJobs(List<TriggerKey> triggerKeys) method provides convenient bulk unscheduling of jobs.
·Scheduler.deleteJobs(List<JobKey> jobKeys) method provides convenient bulk deletion of jobs (and related triggers).
·Scheduler.checkExists(JobKey jobKey) and Scheduler.heckExists(TriggerKey triggerKey) methods provides convenient way to determine uniqueness of job/trigger keys (as opposed to old have of having to retrieve the job/trigger by name and then check whether the result was null).

查看2.0详细改进http://www.quartz-scheduler.org/docs/2.0/newInQuartz2.html

下载地址:http://www.terracotta.org/dl/quartz-oss-sign-up(需注册方能下载)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章