| Package | Description |
|---|---|
| com.helger.quartz |
The main package of Quartz, containing the client-side interfaces.
|
| com.helger.quartz.core |
Contains the core classes and interfaces for the Quartz job scheduler.
|
| com.helger.quartz.impl.triggers |
This package contains Trigger implementations that ship with Quartz.
|
| com.helger.quartz.simpl |
Contains simple / light-weight implementations (with no dependencies on
external libraries) of interfaces required by the
org.quartz.core.QuartzScheduler.
|
| com.helger.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 |
|---|---|
static Date |
TriggerUtils.computeEndTimeToAllowParticularNumberOfFirings(IOperableTrigger trigg,
ICalendar cal,
int numTimes)
Compute the
Date that is 1 second after the Nth firing of the
given Trigger, taking the triger's associated
Calendar into consideration. |
static com.helger.commons.collection.impl.ICommonsList<Date> |
TriggerUtils.computeFireTimes(IOperableTrigger trigg,
ICalendar cal,
int numTimes)
Returns a list of Dates that are the next fire times of a
Trigger. |
static com.helger.commons.collection.impl.ICommonsList<Date> |
TriggerUtils.computeFireTimesBetween(IOperableTrigger trigg,
ICalendar cal,
Date from,
Date to)
Returns a list of Dates that are the next fire times of a
Trigger that fall within the given date range. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
QuartzScheduler.notifyJobStoreJobComplete(IOperableTrigger trigger,
IJobDetail detail,
ITrigger.ECompletedExecutionInstruction instCode) |
protected void |
QuartzScheduler.notifyJobStoreJobVetoed(IOperableTrigger trigger,
IJobDetail detail,
ITrigger.ECompletedExecutionInstruction instCode) |
void |
IQuartzScheduler.triggerJob(IOperableTrigger trig) |
void |
QuartzScheduler.triggerJob(IOperableTrigger trig)
Store and schedule the identified
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTrigger<IMPLTYPE extends AbstractTrigger<IMPLTYPE>>
The base abstract class to be extended by all
Triggers. |
class |
CalendarIntervalTrigger
A concrete
that is used to
fire a based upon repeating
calendar time intervals. |
class |
CronTrigger
A concrete
that is used to
fire a at given moments in
time, defined with Unix 'cron-like' definitions. |
class |
DailyTimeIntervalTrigger
A concrete implementation of DailyTimeIntervalTrigger that is used to fire a
based upon daily repeating
time intervals. |
class |
SimpleTrigger
A concrete
that is used to
fire a at a given moment in
time, and optionally repeated at a specified interval. |
| Modifier and Type | Method and Description |
|---|---|
IOperableTrigger |
RAMJobStore.retrieveTrigger(TriggerKey triggerKey)
Retrieve the given
. |
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.collection.impl.ICommonsList<IOperableTrigger> |
RAMJobStore.acquireNextTriggers(long noLaterThan,
int maxCount,
long timeWindow)
Get a handle to the next trigger to be fired, and mark it as 'reserved' by
the calling scheduler.
|
com.helger.commons.collection.impl.ICommonsList<IOperableTrigger> |
RAMJobStore.getTriggersForJob(JobKey jobKey)
Get all of the Triggers that are associated to the given Job.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RAMJobStore.releaseAcquiredTrigger(IOperableTrigger trigger)
Inform the
JobStore that the scheduler no longer plans to fire
the given Trigger, that it had previously acquired (reserved). |
boolean |
RAMJobStore.replaceTrigger(TriggerKey triggerKey,
IOperableTrigger newTrigger) |
void |
RAMJobStore.storeJobAndTrigger(IJobDetail newJob,
IOperableTrigger newTrigger)
Store the given
and
. |
void |
RAMJobStore.storeTrigger(IOperableTrigger newTrigger,
boolean bReplaceExisting)
Store the given
. |
void |
RAMJobStore.triggeredJobComplete(IOperableTrigger trigger,
IJobDetail jobDetail,
ITrigger.ECompletedExecutionInstruction 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. |
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.collection.impl.ICommonsList<TriggerFiredResult> |
RAMJobStore.triggersFired(List<IOperableTrigger> firedTriggers)
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 |
|---|---|
IOperableTrigger |
IOperableTrigger.getClone() |
IOperableTrigger |
TriggerFiredBundle.getTrigger() |
IOperableTrigger |
IJobStore.retrieveTrigger(TriggerKey triggerKey)
Retrieve the given
. |
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.collection.impl.ICommonsList<IOperableTrigger> |
IJobStore.acquireNextTriggers(long noLaterThan,
int maxCount,
long timeWindow)
Get a handle to the next trigger to be fired, and mark it as 'reserved' by
the calling scheduler.
|
com.helger.commons.collection.impl.ICommonsList<IOperableTrigger> |
IJobStore.getTriggersForJob(JobKey jobKey)
Get all of the Triggers that are associated to the given Job.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IJobStore.releaseAcquiredTrigger(IOperableTrigger trigger)
Inform the
JobStore that the scheduler no longer plans to fire
the given Trigger, that it had previously acquired (reserved). |
boolean |
IJobStore.replaceTrigger(TriggerKey triggerKey,
IOperableTrigger newTrigger)
Remove (delete) the
with
the given key, and store the new given one - which must be associated with
the same job. |
void |
IJobStore.storeJobAndTrigger(IJobDetail newJob,
IOperableTrigger newTrigger)
Store the given
and
. |
void |
IJobStore.storeTrigger(IOperableTrigger newTrigger,
boolean replaceExisting)
Store the given
. |
void |
IJobStore.triggeredJobComplete(IOperableTrigger trigger,
IJobDetail jobDetail,
ITrigger.ECompletedExecutionInstruction 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. |
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.collection.impl.ICommonsList<TriggerFiredResult> |
IJobStore.triggersFired(List<IOperableTrigger> triggers)
Inform the
JobStore that the scheduler is now firing the given
Trigger (executing its associated Job), that it
had previously acquired (reserved). |
| Constructor and Description |
|---|
TriggerFiredBundle(IJobDetail job,
IOperableTrigger trigger,
ICalendar cal,
boolean jobIsRecovering,
Date fireTime,
Date scheduledFireTime,
Date prevFireTime,
Date nextFireTime) |
Copyright © 2016–2021 Philip Helger. All rights reserved.