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(需註冊方能下載)

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