Package | Description |
---|---|
org.quartz |
The main package of Quartz, containing the client-side interfaces.
|
org.quartz.impl.jdbcjobstore | |
org.quartz.simpl |
Contains simple / light-weight implementations (with no dependencies on
external libraries) of interfaces required by the
org.quartz.core.QuartzScheduler.
|
org.quartz.spi |
Contains Service Provider Interfaces that can be implemented by those
wishing to create and use custom versions of Quartz back-end/behind-the-scenes
services.
|
Modifier and Type | Class and Description |
---|---|
class |
ObjectAlreadyExistsException
An exception that is thrown to indicate that an attempt to store a new
object (i.e.
|
Modifier and Type | Class and Description |
---|---|
class |
LockException
Exception class for when there is a failure obtaining or releasing a
resource lock.
|
class |
NoSuchDelegateException
Exception class for when a driver delegate cannot be found for a given
configuration, or lack thereof.
|
Modifier and Type | Method and Description |
---|---|
Trigger |
JobStoreSupport.acquireNextTrigger(SchedulingContext ctxt,
long noLaterThan)
Get a handle to the next N triggers to be fired, and mark them as 'reserved'
by the calling scheduler.
|
java.lang.Object |
JobStoreSupport.executeWithoutLock(org.quartz.impl.jdbcjobstore.JobStoreSupport.TransactionCallback txCallback)
Execute the given callback in a transaction.
|
java.lang.String[] |
JobStoreSupport.getCalendarNames(SchedulingContext ctxt)
Get the names of all of the
s
in the JobStore . |
java.lang.String[] |
JobStoreSupport.getJobGroupNames(SchedulingContext ctxt)
Get the names of all of the
groups. |
java.lang.String[] |
JobStoreSupport.getJobNames(SchedulingContext ctxt,
java.lang.String groupName)
Get the names of all of the
s that
have the given group name. |
int |
JobStoreSupport.getNumberOfCalendars(SchedulingContext ctxt)
Get the number of
s that are
stored in the JobsStore . |
int |
JobStoreSupport.getNumberOfJobs(SchedulingContext ctxt)
Get the number of
s that are
stored in the JobStore . |
int |
JobStoreSupport.getNumberOfTriggers(SchedulingContext ctxt)
Get the number of
s that are
stored in the JobsStore . |
java.util.Set |
JobStoreSupport.getPausedTriggerGroups(java.sql.Connection conn,
SchedulingContext ctxt)
Pause all of the
in the
given group. |
java.util.Set |
JobStoreSupport.getPausedTriggerGroups(SchedulingContext ctxt) |
java.lang.String[] |
JobStoreSupport.getTriggerGroupNames(SchedulingContext ctxt)
Get the names of all of the
groups. |
java.lang.String[] |
JobStoreSupport.getTriggerNames(SchedulingContext ctxt,
java.lang.String groupName)
Get the names of all of the
s
that have the given group name. |
Trigger[] |
JobStoreSupport.getTriggersForJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
Get all of the Triggers that are associated to the given Job.
|
int |
JobStoreSupport.getTriggerState(java.sql.Connection conn,
SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName) |
int |
JobStoreSupport.getTriggerState(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Get the current state of the identified
. |
void |
JobStoreSupport.pauseAll(java.sql.Connection conn,
SchedulingContext ctxt)
Pause all triggers - equivalent of calling
pauseTriggerGroup(group)
on every group. |
void |
JobStoreSupport.pauseAll(SchedulingContext ctxt)
Pause all triggers - equivalent of calling
pauseTriggerGroup(group)
on every group. |
void |
JobStoreSupport.pauseJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
Pause the
with the given name - by
pausing all of its current Trigger s. |
void |
JobStoreSupport.pauseJobGroup(SchedulingContext ctxt,
java.lang.String groupName)
Pause all of the
in the given
group - by pausing all of their Trigger s. |
void |
JobStoreSupport.pauseTrigger(java.sql.Connection conn,
SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Pause the
with the given name. |
void |
JobStoreSupport.pauseTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Pause the
with the given name. |
void |
JobStoreSupport.pauseTriggerGroup(java.sql.Connection conn,
SchedulingContext ctxt,
java.lang.String groupName)
Pause all of the
in the
given group. |
void |
JobStoreSupport.pauseTriggerGroup(SchedulingContext ctxt,
java.lang.String groupName)
Pause all of the
in the
given group. |
void |
JobStoreSupport.releaseAcquiredTrigger(SchedulingContext ctxt,
Trigger trigger)
Inform the
JobStore that the scheduler no longer plans to
fire the given Trigger , that it had previously acquired
(reserved). |
boolean |
JobStoreSupport.removeCalendar(SchedulingContext ctxt,
java.lang.String calName)
Remove (delete) the
with the
given name. |
boolean |
JobStoreSupport.removeJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
|
boolean |
JobStoreSupport.removeTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Remove (delete) the
with the
given name. |
boolean |
JobStoreSupport.replaceTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName,
Trigger newTrigger) |
void |
JobStoreSupport.resumeAll(java.sql.Connection conn,
SchedulingContext ctxt)
protected
Resume (un-pause) all triggers - equivalent of calling
resumeTriggerGroup(group)
on every group. |
void |
JobStoreSupport.resumeAll(SchedulingContext ctxt)
Resume (un-pause) all triggers - equivalent of calling
resumeTriggerGroup(group)
on every group. |
void |
JobStoreSupport.resumeJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
Resume (un-pause) the
with the
given name. |
void |
JobStoreSupport.resumeJobGroup(SchedulingContext ctxt,
java.lang.String groupName)
Resume (un-pause) all of the
in
the given group. |
void |
JobStoreSupport.resumeTrigger(java.sql.Connection conn,
SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Resume (un-pause) the
with the
given name. |
void |
JobStoreSupport.resumeTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Resume (un-pause) the
with the
given name. |
void |
JobStoreSupport.resumeTriggerGroup(java.sql.Connection conn,
SchedulingContext ctxt,
java.lang.String groupName)
Resume (un-pause) all of the
in the given group. |
void |
JobStoreSupport.resumeTriggerGroup(SchedulingContext ctxt,
java.lang.String groupName)
Resume (un-pause) all of the
in the given group. |
Calendar |
JobStoreSupport.retrieveCalendar(SchedulingContext ctxt,
java.lang.String calName)
Retrieve the given
. |
JobDetail |
JobStoreSupport.retrieveJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
|
Trigger |
JobStoreSupport.retrieveTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Retrieve the given
. |
void |
JobStoreSupport.storeCalendar(SchedulingContext ctxt,
java.lang.String calName,
Calendar calendar,
boolean replaceExisting,
boolean updateTriggers)
Store the given
. |
void |
JobStoreSupport.storeJob(SchedulingContext ctxt,
JobDetail newJob,
boolean replaceExisting)
Store the given
. |
void |
JobStoreSupport.storeJobAndTrigger(SchedulingContext ctxt,
JobDetail newJob,
Trigger newTrigger)
|
void |
JobStoreSupport.storeTrigger(SchedulingContext ctxt,
Trigger newTrigger,
boolean replaceExisting)
Store the given
. |
void |
JobStoreSupport.triggeredJobComplete(SchedulingContext ctxt,
Trigger trigger,
JobDetail jobDetail,
int triggerInstCode)
Inform the
JobStore that the scheduler has completed the
firing of the given Trigger (and the execution its
associated Job ), and that the
in the given JobDetail should be updated if the Job
is stateful. |
TriggerFiredBundle |
JobStoreSupport.triggerFired(SchedulingContext ctxt,
Trigger trigger)
Inform the
JobStore that the scheduler is now firing the
given Trigger (executing its associated Job ),
that it had previously acquired (reserved). |
Modifier and Type | Method and Description |
---|---|
java.util.Set |
RAMJobStore.getPausedTriggerGroups(SchedulingContext ctxt) |
int |
RAMJobStore.getTriggerState(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Get the current state of the identified
. |
boolean |
RAMJobStore.removeCalendar(SchedulingContext ctxt,
java.lang.String calName)
Remove (delete) the
with the
given name. |
boolean |
RAMJobStore.replaceTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName,
Trigger newTrigger) |
void |
RAMJobStore.storeJobAndTrigger(SchedulingContext ctxt,
JobDetail newJob,
Trigger newTrigger)
|
void |
RAMJobStore.storeTrigger(SchedulingContext ctxt,
Trigger newTrigger,
boolean replaceExisting)
Store the given
. |
Modifier and Type | Method and Description |
---|---|
Trigger |
JobStore.acquireNextTrigger(SchedulingContext ctxt,
long noLaterThan)
Get a handle to the next trigger to be fired, and mark it as 'reserved'
by the calling scheduler.
|
java.lang.String[] |
JobStore.getCalendarNames(SchedulingContext ctxt)
Get the names of all of the
s
in the JobStore . |
java.lang.String[] |
JobStore.getJobGroupNames(SchedulingContext ctxt)
Get the names of all of the
groups. |
java.lang.String[] |
JobStore.getJobNames(SchedulingContext ctxt,
java.lang.String groupName)
Get the names of all of the
s that
have the given group name. |
int |
JobStore.getNumberOfCalendars(SchedulingContext ctxt)
Get the number of
s that are
stored in the JobsStore . |
int |
JobStore.getNumberOfJobs(SchedulingContext ctxt)
Get the number of
s that are
stored in the JobsStore . |
int |
JobStore.getNumberOfTriggers(SchedulingContext ctxt)
Get the number of
s that are
stored in the JobsStore . |
java.util.Set |
JobStore.getPausedTriggerGroups(SchedulingContext ctxt) |
java.lang.String[] |
JobStore.getTriggerGroupNames(SchedulingContext ctxt)
Get the names of all of the
groups. |
java.lang.String[] |
JobStore.getTriggerNames(SchedulingContext ctxt,
java.lang.String groupName)
Get the names of all of the
s
that have the given group name. |
Trigger[] |
JobStore.getTriggersForJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
Get all of the Triggers that are associated to the given Job.
|
int |
JobStore.getTriggerState(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String triggerGroup)
Get the current state of the identified
. |
void |
JobStore.pauseAll(SchedulingContext ctxt)
Pause all triggers - equivalent of calling
pauseTriggerGroup(group)
on every group. |
void |
JobStore.pauseJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
Pause the
with the given name - by
pausing all of its current Trigger s. |
void |
JobStore.pauseJobGroup(SchedulingContext ctxt,
java.lang.String groupName)
Pause all of the
in the given
group - by pausing all of their Trigger s. |
void |
JobStore.pauseTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Pause the
with the given name. |
void |
JobStore.pauseTriggerGroup(SchedulingContext ctxt,
java.lang.String groupName)
Pause all of the
in the
given group. |
void |
JobStore.releaseAcquiredTrigger(SchedulingContext ctxt,
Trigger trigger)
Inform the
JobStore that the scheduler no longer plans to
fire the given Trigger , that it had previously acquired
(reserved). |
boolean |
JobStore.removeCalendar(SchedulingContext ctxt,
java.lang.String calName)
Remove (delete) the
with the
given name. |
boolean |
JobStore.removeJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
|
boolean |
JobStore.removeTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Remove (delete) the
with the
given name. |
boolean |
JobStore.replaceTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName,
Trigger newTrigger)
Remove (delete) the
with the
given name, and store the new given one - which must be associated
with the same job. |
void |
JobStore.resumeAll(SchedulingContext ctxt)
Resume (un-pause) all triggers - equivalent of calling
resumeTriggerGroup(group)
on every group. |
void |
JobStore.resumeJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
Resume (un-pause) the
with the
given name. |
void |
JobStore.resumeJobGroup(SchedulingContext ctxt,
java.lang.String groupName)
Resume (un-pause) all of the
in
the given group. |
void |
JobStore.resumeTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Resume (un-pause) the
with the
given name. |
void |
JobStore.resumeTriggerGroup(SchedulingContext ctxt,
java.lang.String groupName)
Resume (un-pause) all of the
in the given group. |
Calendar |
JobStore.retrieveCalendar(SchedulingContext ctxt,
java.lang.String calName)
Retrieve the given
. |
JobDetail |
JobStore.retrieveJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
|
Trigger |
JobStore.retrieveTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Retrieve the given
. |
void |
JobStore.storeCalendar(SchedulingContext ctxt,
java.lang.String name,
Calendar calendar,
boolean replaceExisting,
boolean updateTriggers)
Store the given
. |
void |
JobStore.storeJob(SchedulingContext ctxt,
JobDetail newJob,
boolean replaceExisting)
Store the given
. |
void |
JobStore.storeJobAndTrigger(SchedulingContext ctxt,
JobDetail newJob,
Trigger newTrigger)
|
void |
JobStore.storeTrigger(SchedulingContext ctxt,
Trigger newTrigger,
boolean replaceExisting)
Store the given
. |
void |
JobStore.triggeredJobComplete(SchedulingContext ctxt,
Trigger trigger,
JobDetail jobDetail,
int triggerInstCode)
Inform the
JobStore that the scheduler has completed the
firing of the given Trigger (and the execution of its
associated Job completed, threw an exception, or was vetoed),
and that the
in the given JobDetail should be updated if the Job
is stateful. |
TriggerFiredBundle |
JobStore.triggerFired(SchedulingContext ctxt,
Trigger trigger)
Inform the
JobStore that the scheduler is now firing the
given Trigger (executing its associated Job ),
that it had previously acquired (reserved). |