新聞中心
Quartz 2.0 發(fā)布了,Quartz 是一個 Java 輕量級開源企業(yè)級的作業(yè)調(diào)度框架,來自 Quartz 開發(fā)團隊的信息,這是 Quartz 有史以來最大的、最值得興奮的一個版本。

在歷下等地區(qū),都構(gòu)建了全面的區(qū)域性戰(zhàn)略布局,加強發(fā)展的系統(tǒng)性、市場前瞻性、產(chǎn)品創(chuàng)新能力,以專注、極致的服務理念,為客戶提供網(wǎng)站建設、成都網(wǎng)站設計 網(wǎng)站設計制作定制網(wǎng)站,公司網(wǎng)站建設,企業(yè)網(wǎng)站建設,成都品牌網(wǎng)站建設,全網(wǎng)整合營銷推廣,外貿(mào)網(wǎng)站建設,歷下網(wǎng)站建設費用合理。
該版本除了在性能上有所提升外,增加了如下新特性:
Scheduler.clear() 提供方便用于清除所有任務、觸發(fā)器和日程的方法
Scheduler.scheduleJobs(Map> triggersAndJobs, boolean replace) 方法可批量增加任務和觸發(fā)器
Scheduler.unscheduleJobs(List triggerKeys) 方法提供批量取消任務的
Scheduler.deleteJobs(List jobKeys) ,不用說,這是批量刪除任務的
Scheduler.checkExists(JobKey jobKey) 和 Scheduler.heckExists(TriggerKey triggerKey) 提供用于檢測任務關鍵字的唯一性
JDBCJobStore now allows one set of tables to be used by multiple distinct scheduler instances
JDBCJobStore is now capable of storing non-core Trigger implementations without using BLOB columns, through the use of the new TriggerPersistenceDelegate interface, which can (optionally) be implemented by implementers of custom Trigger types.
JDBCJobStore 包含了 SybaseDelegate 用以提升跟 Sybase 數(shù)據(jù)庫的兼容性
Cron 表達式支持指定每月的最后一天和最后一周,例如 L-3 為每月的最后三天
包含調(diào)度信息的 XML 文件增加了用來指定啟動時間和間隔時間的方法
From schema:
XML 文件支持為觸發(fā)器指定 priority 屬性
QuartzInitializerListener (and QuartzInitializerServlet) 支持新的參數(shù) "wait-on-shutdown"
增加核心任務 DirectoryScanJob
Added ability to add the ServletContext into the SchedulerContext when using QuartzInitializerListener or QuartzInitializerServlet to initialize Quartz within a Java EE web application.
另外Quartz 2.0 不再使用 DBCP 做為數(shù)據(jù)庫連接池,而改用了 C3P0。
還有很多,詳情請看 What's New in Quartz 2.0
網(wǎng)站欄目:Quartz2.0發(fā)布,Java作業(yè)調(diào)度框架
路徑分享:http://m.fisionsoft.com.cn/article/dpghpeo.html


咨詢
建站咨詢
