What's New In Quartz Scheduler 2.2
What's New In Quartz Scheduler 2.2
We would like to extend our thanks to the community contributors who provided ideas and patches for much of the work contained in this release.
API Changes with 2.2.0 (including some minor backward compatibility breakage)
*QTZ-292 - Scheduler interface: in the scheduleJobs( ) method, the triggers are part of a Set instead of a List.
*QTZ-304 - Scheduler#scheduleJobs API was changed to support generics and avoid cast.
*QTZ-366 - Deleted the long-deprecated CloudscapeDelegate.
*QTZ-212 - Added schedulerStarting( ) method to SchedulerListener interface.
*QTZ-225 - Made the Scheduler's ClassLoadHelper available to plugins when they are initialized.
*For those using JDBC JobStore, there is a schema change that requires the addition of a column to the fired_triggers table. You can add the column with a SQL statement such as the examples shown below (with slight variants on data type needed depending upon your database flavor):
*For Oracle: ALTER TABLE QRTZ_FIRED_TRIGGERS ADD COLUMN SCHED_TIME NUMBER(13) NOT NULL;
*For PostgreSQL: ALTER TABLE QRTZ_FIRED_TRIGGERS ADD COLUMN SCHED_TIME BIGINT NOT NULL;
*for MySql: ALTER TABLE QRTZ_FIRED_TRIGGERS ADD COLUMN SCHED_TIME BIGINT(13) NOT NULL;
New Features in 2.2.0
*QTZ-370 - Ability to override default transaction timeout when beginning new UserTransaction.
*QTZ-323 - Ability to override worker thread names (when using SimpleThreadPool).
*QTZ-79 - Improvements to the out-of-the-box SendMailJob.
*QTZ-121 - An EJB Job invoker that supports EJB3 has been created.
*QTZ-267 - Scheduler method: scheduleJob(JobDetail job, Set<Trigger> trigger) to schedule multiple triggers for a job all at once.
*QTZ-272 - Initialize() method for ConnectionProvider interface.
*QTZ-275 - "Triggerless" initial storing of non-durable jobs.
*QTZ-315 - Improvements for Job Recovery Information.
*QTZ-154 - OSGi support.
Miscellaneous with 2.2.0
*The Quartz library is now distributed only as two jar files. One jar file provides all Quartz functionality. The other provides the out-of-the-box jobs (see QTZ-378.)
*Quartz now requires JDK 1.6 or newer (QTZ-286.)
*Performance improvements have been made to Quartz, including:
*Improvements to some select statements in JDBC JobStore.
*Some internal SPI/interface refactorings (cleanups) such as on DriverDelegate and its subclasses, the Semaphore class, and so forth.
*Various bug fixes. For the complete listing, see the release notes here from Jira: https://jira.terracotta.org/jira/secure/ReleaseNote.jspa?projectId=10282&version=11041.
Copyright © 2010-2016 Software AG, Darmstadt, Germany.

Product Logo |   Feedback