| Modifier and Type | Method and Description |
|---|---|
void |
AnnotationJobTriggerPlugin.initialize(String name,
Scheduler scheduler)
Called during creation of the
Scheduler in order to give the SchedulerPlugin a chance to initialize. |
| Modifier and Type | Method and Description |
|---|---|
void |
QuartzScheduler.notifySchedulerListenersError(String msg,
SchedulerException se) |
| Modifier and Type | Method and Description |
|---|---|
void |
QuartzScheduler.addJob(JobDetail jobDetail)
Add the given
Job to the Scheduler - with no associated Trigger. |
void |
QuartzScheduler.deleteJob(String jobKey) |
JobDetail |
QuartzScheduler.getJobDetail(String jobKey)
Get the
for the Job instance with the given name and group. |
Set<String> |
QuartzScheduler.getJobKeys()
Get the names of all the
in the matching groups. |
Trigger |
QuartzScheduler.getTrigger(String triggerKey)
Get the
instance with the given name and group. |
List<Trigger> |
QuartzScheduler.getTriggersOfJob(String jobKey)
|
void |
QuartzScheduler.initialize() |
void |
QuartzScheduler.notifyJobListenersToBeExecuted(JobExecutionContext jec) |
void |
QuartzScheduler.notifyJobListenersWasExecuted(JobExecutionContext jec,
JobExecutionException je) |
void |
QuartzScheduler.notifyJobListenersWasVetoed(JobExecutionContext jec) |
void |
QuartzScheduler.notifyTriggerListenersComplete(JobExecutionContext jec,
Trigger.CompletedExecutionInstruction instCode) |
boolean |
QuartzScheduler.notifyTriggerListenersFired(JobExecutionContext jec) |
void |
QuartzScheduler.notifyTriggerListenersMisfired(Trigger trigger) |
Date |
QuartzScheduler.rescheduleJob(String triggerName,
OperableTrigger newTrigger) |
Date |
QuartzScheduler.scheduleJob(JobDetail jobDetail,
OperableTrigger trigger)
|
Date |
QuartzScheduler.scheduleJob(OperableTrigger trigger)
|
void |
QuartzScheduler.setJobFactory(JobFactory factory) |
void |
QuartzScheduler.start()
Starts the
QuartzScheduler's threads that fire . |
void |
QuartzScheduler.startDelayed(int seconds) |
void |
QuartzScheduler.triggerJob(String jobKey,
JobDataMap data)
Trigger the identified
(execute it now) - with a non-volatile trigger. |
void |
QuartzScheduler.unscheduleJob(String triggerKey) |
| Constructor and Description |
|---|
QuartzScheduler(QuartzSchedulerResources quartzSchedulerResources)
Create a
QuartzScheduler with the given configuration properties. |
| Modifier and Type | Method and Description |
|---|---|
void |
Scheduler.addJob(JobDetail jobDetail)
Add the given
Job to the Scheduler - with no associated Trigger. |
JobRunShell |
StandardJobRunShellFactory.createJobRunShell(TriggerFiredBundle bundle)
Called by the
QuartzSchedulerThread to obtain instances of
. |
JobRunShell |
JobRunShellFactory.createJobRunShell(TriggerFiredBundle bundle)
Called by the
to obtain instances of . |
void |
Scheduler.deleteJob(String jobKey)
Delete the identified
Job from the Scheduler - and any associated Triggers. |
List<JobExecutionContext> |
Scheduler.getCurrentlyExecutingJobs()
Return a list of
JobExecutionContext objects that represent all currently executing Jobs in this Scheduler instance. |
JobDetail |
Scheduler.getJobDetail(String jobKey)
Get the
for the Job instance with the given key. |
Set<String> |
Scheduler.getJobKeys()
Get the keys of all the
in the matching groups. |
ListenerManager |
Scheduler.getListenerManager()
Get a reference to the scheduler's
ListenerManager, through which listeners may be registered. |
Scheduler |
SchedulerFactory.getScheduler()
Returns a handle to the Scheduler produced by this factory.
|
Scheduler |
SchedulerFactory.getScheduler(int threadPoolSize) |
Scheduler |
SchedulerFactory.getScheduler(int threadPoolSize,
String packageName) |
Trigger |
Scheduler.getTrigger(String triggerKey)
Get the
instance with the given key. |
List<Trigger> |
Scheduler.getTriggersOfJob(String jobKey)
|
boolean |
Scheduler.isInStandbyMode()
Reports whether the
Scheduler is in stand-by mode. |
boolean |
Scheduler.isShutdown()
Reports whether the
Scheduler has been shutdown. |
boolean |
Scheduler.isStarted()
Whether the scheduler has been started.
|
Date |
Scheduler.rescheduleJob(String triggerName,
OperableTrigger newTrigger)
Remove (delete) the
with the given key, and store the new given one - which must be
associated with the same job (the new trigger must have the job name specified) - however, the new trigger need not have the same name as the old
trigger. |
Date |
Scheduler.scheduleJob(JobDetail jobDetail,
OperableTrigger trigger)
Add the given
to the Scheduler, and associate the given with
it. |
Date |
Scheduler.scheduleJob(OperableTrigger trigger)
|
void |
RAMJobStore.schedulerStarted() |
void |
JobStore.schedulerStarted()
Called by the QuartzScheduler to inform the
JobStore that the scheduler has started. |
void |
Scheduler.setJobFactory(JobFactory factory)
Set the
JobFactory that will be responsible for producing
instances of Job classes. |
void |
Scheduler.shutdown(boolean waitForJobsToComplete)
Halts the
Scheduler's firing of , and cleans up all resources associated with the Scheduler. |
void |
Scheduler.standby()
Temporarily halts the
Scheduler's firing of . |
void |
Scheduler.start()
Starts the
Scheduler's threads that fire . |
void |
Scheduler.startDelayed(int seconds)
Calls {#start()} after the indicated number of seconds.
|
void |
Scheduler.triggerJob(String jobKey,
JobDataMap data)
Trigger the identified
(execute it now). |
void |
Scheduler.unscheduleJob(String triggerKey)
Remove the indicated
from the scheduler. |
| Modifier and Type | Class and Description |
|---|---|
class |
JobExecutionException
An exception that can be thrown by a
to indicate to the Quartz that an
error occurred while executing, and whether or not the Job requests to be re-fired immediately (using the same
, or whether it wants to be unscheduled. |
class |
JobPersistenceException
An exception that is thrown to indicate that there has been a failure in the scheduler's underlying persistence mechanism.
|
class |
ObjectAlreadyExistsException
An exception that is thrown to indicate that an attempt to store a new object (i.e.
|
class |
SchedulerConfigException
An exception that is thrown to indicate that there is a misconfiguration of the
SchedulerFactory- or one of the components it
configures. |
class |
UnableToInterruptJobException
An exception that is thrown to indicate that a call to InterruptableJob.interrupt() failed without interrupting the Job.
|
| Modifier and Type | Method and Description |
|---|---|
Job |
SimpleJobFactory.newJob(TriggerFiredBundle bundle,
Scheduler Scheduler) |
Job |
JobFactory.newJob(TriggerFiredBundle bundle,
Scheduler scheduler)
Called by the scheduler at the time of the trigger firing, in order to produce a
Job instance on which to call execute. |
| Modifier and Type | Method and Description |
|---|---|
void |
SchedulerListenerSupport.schedulerError(String msg,
SchedulerException cause) |
void |
SchedulerListener.schedulerError(String msg,
SchedulerException cause)
Called by the
when a serious error has occurred within the scheduler - such as repeated failures in the
JobStore, or the inability to instantiate a Job instance when its Trigger has fired. |
| Modifier and Type | Method and Description |
|---|---|
void |
SchedulerPlugin.initialize(String name,
Scheduler scheduler)
Called during creation of the
Scheduler in order to give the SchedulerPlugin a chance to initialize. |
| Modifier and Type | Method and Description |
|---|---|
void |
ShutdownHookPlugin.initialize(String name,
Scheduler scheduler)
Called during creation of the
Scheduler in order to give the SchedulerPlugin a chance to initialize. |
| Modifier and Type | Method and Description |
|---|---|
void |
XMLSchedulingDataProcessorPlugin.initialize(String name,
Scheduler scheduler)
Called during creation of the
Scheduler in order to give the SchedulerPlugin a chance to initialize. |
void |
XMLSchedulingDataProcessor.scheduleJobs(Scheduler sched)
Schedules the given sets of jobs and triggers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleTriggerImpl.validate()
Validates whether the properties of the
JobDetail are valid for submission into a Scheduler. |
void |
OperableTrigger.validate()
Validates whether the properties of the
JobDetail are valid for submission into a Scheduler. |
void |
AbstractTrigger.validate() |
Copyright © 2011–2017 Knowm Inc.. All rights reserved.