Skip to content

Quartz API Operations

Zemian Deng edited this page Mar 1, 2019 · 12 revisions

Quartz is a Java library, and you may use it to perform job data management and control the scheduler. The central API to the scheduler is the org.quartz.Scheduler interface, and you may get an instance with org.quartz.impl.StdSchedulerFactory.getDefaultScheduler().

Quartz Client API Operations

We refer to "client" API when you use org.quartz.Scheduler to manage job data only. Things such as adding, removing, or rescheduling a job, trigger or listeners. These operations can be done on scheduler instance without having it to be started or. Obviously you may also perform job data management while the scheduler is in running mode as well.

Quartz Server API Operations

We refer to "server" API when you use org.quartz.Scheduler to control the scheduler. You may start, pause or shutdown the scheduler. Note that once a scheduler is shutdown, you can not reuse the instance to re-start it!

Clone this wiki locally