Package | Description |
---|---|
org.quartz.core |
Contains the core classes and interfaces for the Quartz job scheduler.
|
org.quartz.ee.jta | |
org.quartz.impl |
Contains implementations of the SchedulerFactory, JobStore, ThreadPool, and
other interfaces required by the org.quartz.core.QuartzScheduler.
|
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 | Method and Description |
---|---|
void |
RemotableQuartzScheduler.addCalendar(SchedulingContext ctxt,
java.lang.String calName,
Calendar calendar,
boolean replace,
boolean updateTriggers) |
void |
QuartzScheduler.addCalendar(SchedulingContext ctxt,
java.lang.String calName,
Calendar calendar,
boolean replace,
boolean updateTriggers)
Add (register) the given
Calendar to the Scheduler. |
void |
RemotableQuartzScheduler.addJob(SchedulingContext ctxt,
JobDetail jobDetail,
boolean replace) |
void |
QuartzScheduler.addJob(SchedulingContext ctxt,
JobDetail jobDetail,
boolean replace)
Add the given
Job to the Scheduler - with no associated
Trigger . |
boolean |
RemotableQuartzScheduler.deleteCalendar(SchedulingContext ctxt,
java.lang.String calName) |
boolean |
QuartzScheduler.deleteCalendar(SchedulingContext ctxt,
java.lang.String calName)
Delete the identified
Calendar from the Scheduler. |
boolean |
RemotableQuartzScheduler.deleteJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName) |
boolean |
QuartzScheduler.deleteJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
Delete the identified
Job from the Scheduler - and any
associated Trigger s. |
Calendar |
RemotableQuartzScheduler.getCalendar(SchedulingContext ctxt,
java.lang.String calName) |
Calendar |
QuartzScheduler.getCalendar(SchedulingContext ctxt,
java.lang.String calName)
Get the
instance with the given name. |
java.lang.String[] |
RemotableQuartzScheduler.getCalendarNames(SchedulingContext ctxt) |
java.lang.String[] |
QuartzScheduler.getCalendarNames(SchedulingContext ctxt)
Get the names of all registered
. |
JobDetail |
RemotableQuartzScheduler.getJobDetail(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String jobGroup) |
JobDetail |
QuartzScheduler.getJobDetail(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String jobGroup)
Get the
for the Job
instance with the given name and group. |
java.lang.String[] |
RemotableQuartzScheduler.getJobGroupNames(SchedulingContext ctxt) |
java.lang.String[] |
QuartzScheduler.getJobGroupNames(SchedulingContext ctxt)
Get the names of all known
groups. |
java.lang.String[] |
RemotableQuartzScheduler.getJobNames(SchedulingContext ctxt,
java.lang.String groupName) |
java.lang.String[] |
QuartzScheduler.getJobNames(SchedulingContext ctxt,
java.lang.String groupName)
Get the names of all the
in the
given group. |
java.util.Set |
RemotableQuartzScheduler.getPausedTriggerGroups(SchedulingContext ctxt) |
java.util.Set |
QuartzScheduler.getPausedTriggerGroups(SchedulingContext ctxt) |
Trigger |
RemotableQuartzScheduler.getTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String triggerGroup) |
Trigger |
QuartzScheduler.getTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String triggerGroup)
Get the
instance with the given name and
group. |
java.lang.String[] |
RemotableQuartzScheduler.getTriggerGroupNames(SchedulingContext ctxt) |
java.lang.String[] |
QuartzScheduler.getTriggerGroupNames(SchedulingContext ctxt)
Get the names of all known
groups. |
java.lang.String[] |
RemotableQuartzScheduler.getTriggerNames(SchedulingContext ctxt,
java.lang.String groupName) |
java.lang.String[] |
QuartzScheduler.getTriggerNames(SchedulingContext ctxt,
java.lang.String groupName)
Get the names of all the
in
the given group. |
Trigger[] |
RemotableQuartzScheduler.getTriggersOfJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName) |
Trigger[] |
QuartzScheduler.getTriggersOfJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
|
int |
RemotableQuartzScheduler.getTriggerState(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String triggerGroup) |
int |
QuartzScheduler.getTriggerState(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String triggerGroup)
Get the current state of the identified
. |
void |
JobRunShellFactory.initialize(Scheduler scheduler,
SchedulingContext schedCtxt)
Initialize the factory, providing a handle to the
Scheduler
that should be made available within the JobRunShell and
the JobExecutionCOntext s within it, and a handle to the
SchedulingContext that the shell will use in its own
operations with the JobStore . |
boolean |
RemotableQuartzScheduler.interrupt(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName) |
boolean |
QuartzScheduler.interrupt(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
Interrupt all instances of the identified InterruptableJob executing in
this Scheduler instance.
|
void |
RemotableQuartzScheduler.pauseAll(SchedulingContext ctxt) |
void |
QuartzScheduler.pauseAll(SchedulingContext ctxt)
Pause all triggers - equivalent of calling
pauseTriggerGroup(group)
on every group. |
void |
RemotableQuartzScheduler.pauseJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName) |
void |
QuartzScheduler.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 |
RemotableQuartzScheduler.pauseJobGroup(SchedulingContext ctxt,
java.lang.String groupName) |
void |
QuartzScheduler.pauseJobGroup(SchedulingContext ctxt,
java.lang.String groupName)
Pause all of the
in the
given group - by pausing all of their Trigger s. |
void |
RemotableQuartzScheduler.pauseTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName) |
void |
QuartzScheduler.pauseTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Pause the
with the given name. |
void |
RemotableQuartzScheduler.pauseTriggerGroup(SchedulingContext ctxt,
java.lang.String groupName) |
void |
QuartzScheduler.pauseTriggerGroup(SchedulingContext ctxt,
java.lang.String groupName)
Pause all of the
in the given group. |
java.util.Date |
RemotableQuartzScheduler.rescheduleJob(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName,
Trigger newTrigger) |
java.util.Date |
QuartzScheduler.rescheduleJob(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 |
RemotableQuartzScheduler.resumeAll(SchedulingContext ctxt) |
void |
QuartzScheduler.resumeAll(SchedulingContext ctxt)
Resume (un-pause) all triggers - equivalent of calling
resumeTriggerGroup(group)
on every group. |
void |
RemotableQuartzScheduler.resumeJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName) |
void |
QuartzScheduler.resumeJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
Resume (un-pause) the
with
the given name. |
void |
RemotableQuartzScheduler.resumeJobGroup(SchedulingContext ctxt,
java.lang.String groupName) |
void |
QuartzScheduler.resumeJobGroup(SchedulingContext ctxt,
java.lang.String groupName)
Resume (un-pause) all of the
in the given group. |
void |
RemotableQuartzScheduler.resumeTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName) |
void |
QuartzScheduler.resumeTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Resume (un-pause) the
with the given
name. |
void |
RemotableQuartzScheduler.resumeTriggerGroup(SchedulingContext ctxt,
java.lang.String groupName) |
void |
QuartzScheduler.resumeTriggerGroup(SchedulingContext ctxt,
java.lang.String groupName)
Resume (un-pause) all of the
in the
given group. |
java.util.Date |
RemotableQuartzScheduler.scheduleJob(SchedulingContext ctxt,
JobDetail jobDetail,
Trigger trigger) |
java.util.Date |
QuartzScheduler.scheduleJob(SchedulingContext ctxt,
JobDetail jobDetail,
Trigger trigger)
|
java.util.Date |
RemotableQuartzScheduler.scheduleJob(SchedulingContext ctxt,
Trigger trigger) |
java.util.Date |
QuartzScheduler.scheduleJob(SchedulingContext ctxt,
Trigger trigger)
|
void |
RemotableQuartzScheduler.triggerJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName,
JobDataMap data) |
void |
QuartzScheduler.triggerJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName,
JobDataMap data)
Trigger the identified
(execute it
now) - with a non-volatile trigger. |
void |
RemotableQuartzScheduler.triggerJobWithVolatileTrigger(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName,
JobDataMap data) |
void |
QuartzScheduler.triggerJobWithVolatileTrigger(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName,
JobDataMap data)
Trigger the identified
(execute it
now) - with a volatile trigger. |
boolean |
RemotableQuartzScheduler.unscheduleJob(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName) |
boolean |
QuartzScheduler.unscheduleJob(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Remove the indicated
from the
scheduler. |
Constructor and Description |
---|
JobRunShell(JobRunShellFactory jobRunShellFactory,
Scheduler scheduler,
SchedulingContext schdCtxt)
Create a JobRunShell instance with the given settings.
|
QuartzScheduler(QuartzSchedulerResources resources,
SchedulingContext ctxt,
long idleWaitTime,
long dbRetryInterval)
Create a
QuartzScheduler with the given configuration
properties. |
Modifier and Type | Method and Description |
---|---|
void |
JTAJobRunShellFactory.initialize(Scheduler scheduler,
SchedulingContext schedCtxt)
Initialize the factory, providing a handle to the
Scheduler
that should be made available within the JobRunShell and
the JobExecutionContext s within it, and a handle to the
SchedulingContext that the shell will use in its own
operations with the JobStore . |
Constructor and Description |
---|
JTAJobRunShell(JobRunShellFactory jobRunShellFactory,
Scheduler scheduler,
SchedulingContext schdCtxt)
Create a JTAJobRunShell instance with the given settings.
|
Modifier and Type | Method and Description |
---|---|
void |
StdJobRunShellFactory.initialize(Scheduler scheduler,
SchedulingContext schedCtxt)
Initialize the factory, providing a handle to the
Scheduler
that should be made available within the JobRunShell and
the JobExecutionCOntext s within it, and a handle to the
SchedulingContext that the shell will use in its own
operations with the JobStore . |
void |
RemoteMBeanScheduler.setSchedulingContext(SchedulingContext schedulingContext)
Set the scheduling context of this proxy.
|
Constructor and Description |
---|
RemoteScheduler(SchedulingContext schedCtxt,
java.lang.String schedId,
java.lang.String host,
int port)
Construct a
RemoteScheduler instance to proxy the given
RemoteableQuartzScheduler instance, and with the given
SchedulingContext . |
StdScheduler(QuartzScheduler sched,
SchedulingContext schedCtxt)
Construct a
StdScheduler instance to proxy the given
QuartzScheduler instance, and with the given SchedulingContext . |
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.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 |
---|---|
Trigger |
RAMJobStore.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[] |
RAMJobStore.getCalendarNames(SchedulingContext ctxt)
Get the names of all of the
s
in the JobStore . |
java.lang.String[] |
RAMJobStore.getJobGroupNames(SchedulingContext ctxt)
Get the names of all of the
groups. |
java.lang.String[] |
RAMJobStore.getJobNames(SchedulingContext ctxt,
java.lang.String groupName)
Get the names of all of the
s that
have the given group name. |
int |
RAMJobStore.getNumberOfCalendars(SchedulingContext ctxt)
Get the number of
s that are
stored in the JobsStore . |
int |
RAMJobStore.getNumberOfJobs(SchedulingContext ctxt)
Get the number of
s that are
stored in the JobsStore . |
int |
RAMJobStore.getNumberOfTriggers(SchedulingContext ctxt)
Get the number of
s that are
stored in the JobsStore . |
java.util.Set |
RAMJobStore.getPausedTriggerGroups(SchedulingContext ctxt) |
java.lang.String[] |
RAMJobStore.getTriggerGroupNames(SchedulingContext ctxt)
Get the names of all of the
groups. |
java.lang.String[] |
RAMJobStore.getTriggerNames(SchedulingContext ctxt,
java.lang.String groupName)
Get the names of all of the
s
that have the given group name. |
Trigger[] |
RAMJobStore.getTriggersForJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
Get all of the Triggers that are associated to the given Job.
|
int |
RAMJobStore.getTriggerState(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Get the current state of the identified
. |
void |
RAMJobStore.pauseAll(SchedulingContext ctxt)
Pause all triggers - equivalent of calling
pauseTriggerGroup(group)
on every group. |
void |
RAMJobStore.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 |
RAMJobStore.pauseJobGroup(SchedulingContext ctxt,
java.lang.String groupName)
Pause all of the
in the
given group - by pausing all of their Trigger s. |
void |
RAMJobStore.pauseTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Pause the
with the given name. |
void |
RAMJobStore.pauseTriggerGroup(SchedulingContext ctxt,
java.lang.String groupName)
Pause all of the
in the given group. |
void |
RAMJobStore.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 |
RAMJobStore.removeCalendar(SchedulingContext ctxt,
java.lang.String calName)
Remove (delete) the
with the
given name. |
boolean |
RAMJobStore.removeJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
|
boolean |
RAMJobStore.removeTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Remove (delete) the
with the
given name. |
boolean |
RAMJobStore.replaceTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName,
Trigger newTrigger) |
void |
RAMJobStore.resumeAll(SchedulingContext ctxt)
Resume (un-pause) all triggers - equivalent of calling
resumeTriggerGroup(group)
on every group. |
void |
RAMJobStore.resumeJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
Resume (un-pause) the
with
the given name. |
void |
RAMJobStore.resumeJobGroup(SchedulingContext ctxt,
java.lang.String groupName)
Resume (un-pause) all of the
in the given group. |
void |
RAMJobStore.resumeTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Resume (un-pause) the
with the given
name. |
void |
RAMJobStore.resumeTriggerGroup(SchedulingContext ctxt,
java.lang.String groupName)
Resume (un-pause) all of the
in the
given group. |
Calendar |
RAMJobStore.retrieveCalendar(SchedulingContext ctxt,
java.lang.String calName)
Retrieve the given
. |
JobDetail |
RAMJobStore.retrieveJob(SchedulingContext ctxt,
java.lang.String jobName,
java.lang.String groupName)
|
Trigger |
RAMJobStore.retrieveTrigger(SchedulingContext ctxt,
java.lang.String triggerName,
java.lang.String groupName)
Retrieve the given
. |
void |
RAMJobStore.storeCalendar(SchedulingContext ctxt,
java.lang.String name,
Calendar calendar,
boolean replaceExisting,
boolean updateTriggers)
Store the given
. |
void |
RAMJobStore.storeJob(SchedulingContext ctxt,
JobDetail newJob,
boolean replaceExisting)
Store the given
. |
void |
RAMJobStore.storeJobAndTrigger(SchedulingContext ctxt,
JobDetail newJob,
Trigger newTrigger)
|
void |
RAMJobStore.storeTrigger(SchedulingContext ctxt,
Trigger newTrigger,
boolean replaceExisting)
Store the given
. |
void |
RAMJobStore.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 |
RAMJobStore.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 |
---|---|
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). |