Package | Description |
---|---|
org.quartz |
The main package of Quartz, containing the client-side interfaces.
|
org.quartz.core |
Contains the core classes and interfaces for the Quartz job scheduler.
|
org.quartz.helpers |
Contains helper classes to make working with Quartz easier.
|
org.quartz.impl |
Contains implementations of the SchedulerFactory, JobStore, ThreadPool, and
other interfaces required by the org.quartz.core.QuartzScheduler.
|
org.quartz.impl.calendar | |
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.
|
org.quartz.xml |
Modifier and Type | Method and Description |
---|---|
Calendar |
Calendar.getBaseCalendar()
Get the base calendar.
|
Calendar |
JobExecutionContext.getCalendar()
Get a handle to the
Calendar referenced by the Trigger
instance that fired the Job . |
Calendar |
Scheduler.getCalendar(java.lang.String calName)
Get the
instance with the given name. |
Modifier and Type | Method and Description |
---|---|
void |
Scheduler.addCalendar(java.lang.String calName,
Calendar calendar,
boolean replace,
boolean updateTriggers)
Add (register) the given
Calendar to the Scheduler. |
static java.util.List |
TriggerUtils.computeFireTimes(Trigger trigg,
Calendar cal,
int numTimes)
Returns a list of Dates that are the next fire times of a
Trigger . |
static java.util.List |
TriggerUtils.computeFireTimesBetween(Trigger trigg,
Calendar cal,
java.util.Date from,
java.util.Date to)
Returns a list of Dates that are the next fire times of a
Trigger
that fall within the given date range. |
abstract java.util.Date |
Trigger.computeFirstFireTime(Calendar calendar)
This method should not be used by the Quartz client.
|
java.util.Date |
SimpleTrigger.computeFirstFireTime(Calendar calendar)
Called by the scheduler at the time a
Trigger is first
added to the scheduler, in order to have the Trigger
compute its first fire time, based on any associated calendar. |
java.util.Date |
NthIncludedDayTrigger.computeFirstFireTime(Calendar calendar)
Called by the scheduler at the time a
Trigger is first
added to the scheduler, in order to have the Trigger
compute its first fire time, based on any associated calendar. |
java.util.Date |
CronTrigger.computeFirstFireTime(Calendar calendar)
Called by the scheduler at the time a
Trigger is first
added to the scheduler, in order to have the Trigger
compute its first fire time, based on any associated calendar. |
void |
Calendar.setBaseCalendar(Calendar baseCalendar)
Set a new base calendar or remove the existing one.
|
abstract void |
Trigger.triggered(Calendar calendar)
This method should not be used by the Quartz client.
|
void |
SimpleTrigger.triggered(Calendar calendar)
Called when the
has decided to 'fire'
the trigger (execute the associated Job ), in order to
give the Trigger a chance to update itself for its next
triggering (if any). |
void |
NthIncludedDayTrigger.triggered(Calendar calendar)
Called when the
Scheduler has decided to 'fire' the trigger
(execute the associated Job ), in order to give the
Trigger a chance to update itself for its next triggering
(if any). |
void |
CronTrigger.triggered(Calendar calendar)
Called when the
has decided to 'fire'
the trigger (execute the associated Job ), in order to
give the Trigger a chance to update itself for its next
triggering (if any). |
abstract void |
Trigger.updateAfterMisfire(Calendar cal)
This method should not be used by the Quartz client.
|
void |
SimpleTrigger.updateAfterMisfire(Calendar cal)
Updates the
SimpleTrigger 's state based on the
MISFIRE_INSTRUCTION_XXX that was selected when the SimpleTrigger
was created. |
void |
NthIncludedDayTrigger.updateAfterMisfire(Calendar calendar)
Updates the
NthIncludedDayTrigger 's state based on the
MISFIRE_INSTRUCTION_XXX that was selected when the
NthIncludedDayTrigger was created
If the misfire instruction is set to MISFIRE_INSTRUCTION_SMART_POLICY,
then the instruction will be interpreted as
NthIncludedDayTrigger.MISFIRE_INSTRUCTION_FIRE_ONCE_NOW . |
void |
CronTrigger.updateAfterMisfire(Calendar cal)
Updates the
CronTrigger 's state based on the
MISFIRE_INSTRUCTION_XXX that was selected when the CronTrigger
was created. |
abstract void |
Trigger.updateWithNewCalendar(Calendar cal,
long misfireThreshold)
This method should not be used by the Quartz client.
|
void |
SimpleTrigger.updateWithNewCalendar(Calendar calendar,
long misfireThreshold) |
void |
NthIncludedDayTrigger.updateWithNewCalendar(Calendar calendar,
long misfireThreshold)
Updates the
NthIncludedDayTrigger 's state based on the
given new version of the associated Calendar . |
void |
CronTrigger.updateWithNewCalendar(Calendar calendar,
long misfireThreshold) |
Modifier and Type | Method and Description |
---|---|
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. |
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. |
Modifier and Type | Method and Description |
---|---|
static java.util.List |
TriggerUtils.computeFireTimes(Trigger trigg,
Calendar cal,
int numTimes)
Deprecated.
use org.quartz.TriggerUtils instead!
|
static java.util.List |
TriggerUtils.computeFireTimesBetween(Trigger trigg,
Calendar cal,
java.util.Date from,
java.util.Date to)
Deprecated.
use org.quartz.TriggerUtils instead!
|
Modifier and Type | Method and Description |
---|---|
Calendar |
StdScheduler.getCalendar(java.lang.String calName)
Calls the equivalent method on the 'proxied'
QuartzScheduler ,
passing the SchedulingContext associated with this
instance. |
Calendar |
RemoteScheduler.getCalendar(java.lang.String calName)
Calls the equivalent method on the 'proxied'
QuartzScheduler ,
passing the SchedulingContext associated with this
instance. |
Calendar |
RemoteMBeanScheduler.getCalendar(java.lang.String calName)
Calls the equivalent method on the 'proxied'
QuartzScheduler ,
passing the SchedulingContext associated with this
instance. |
Modifier and Type | Method and Description |
---|---|
void |
StdScheduler.addCalendar(java.lang.String calName,
Calendar calendar,
boolean replace,
boolean updateTriggers)
Calls the equivalent method on the 'proxied'
QuartzScheduler ,
passing the SchedulingContext associated with this
instance. |
void |
RemoteScheduler.addCalendar(java.lang.String calName,
Calendar calendar,
boolean replace,
boolean updateTriggers)
Calls the equivalent method on the 'proxied'
QuartzScheduler ,
passing the SchedulingContext associated with this
instance. |
void |
RemoteMBeanScheduler.addCalendar(java.lang.String calName,
Calendar calendar,
boolean replace,
boolean updateTriggers)
Calls the equivalent method on the 'proxied'
QuartzScheduler ,
passing the SchedulingContext associated with this
instance. |
Modifier and Type | Class and Description |
---|---|
class |
AnnualCalendar
This implementation of the Calendar excludes a set of days of the year.
|
class |
BaseCalendar
This implementation of the Calendar may be used (you don't have to) as a
base class for more sophisticated one's.
|
class |
CronCalendar
This implementation of the Calendar excludes the set of times expressed by a
given
CronExpression . |
class |
DailyCalendar
This implementation of the Calendar excludes (or includes - see below) a
specified time range each day.
|
class |
HolidayCalendar
This implementation of the Calendar stores a list of holidays (full days
that are excluded from scheduling).
|
class |
MonthlyCalendar
This implementation of the Calendar excludes a set of days of the month.
|
class |
WeeklyCalendar
This implementation of the Calendar excludes a set of days of the week.
|
Modifier and Type | Method and Description |
---|---|
Calendar |
BaseCalendar.getBaseCalendar()
Get the base calendar.
|
Modifier and Type | Method and Description |
---|---|
void |
BaseCalendar.setBaseCalendar(Calendar baseCalendar)
Set a new base calendar or remove the existing one
|
Constructor and Description |
---|
AnnualCalendar(Calendar baseCalendar) |
AnnualCalendar(Calendar baseCalendar,
java.util.TimeZone timeZone) |
BaseCalendar(Calendar baseCalendar) |
BaseCalendar(Calendar baseCalendar,
java.util.TimeZone timeZone) |
CronCalendar(Calendar baseCalendar,
java.lang.String expression)
Create a
CronCalendar with the given cron expression and
baseCalendar . |
CronCalendar(Calendar baseCalendar,
java.lang.String expression,
java.util.TimeZone timeZone)
Create a
CronCalendar with the given cron exprssion,
baseCalendar , and TimeZone . |
CronCalendar(java.lang.String name,
Calendar baseCalendar,
java.lang.String expression)
Deprecated.
The use of
name is no longer supported. |
CronCalendar(java.lang.String name,
Calendar baseCalendar,
java.lang.String expression,
java.util.TimeZone timeZone)
Deprecated.
The use of
name is no longer supported. |
DailyCalendar(Calendar baseCalendar,
java.util.Calendar rangeStartingCalendar,
java.util.Calendar rangeEndingCalendar)
Create a
DailyCalendar with a time range defined by the
specified java.util.Calendar s and the specified
baseCalendar . |
DailyCalendar(Calendar baseCalendar,
int rangeStartingHourOfDay,
int rangeStartingMinute,
int rangeStartingSecond,
int rangeStartingMillis,
int rangeEndingHourOfDay,
int rangeEndingMinute,
int rangeEndingSecond,
int rangeEndingMillis)
Create a
DailyCalendar with a time range defined by the
specified values and the specified baseCalendar . |
DailyCalendar(Calendar baseCalendar,
long rangeStartingTimeInMillis,
long rangeEndingTimeInMillis)
Create a
DailyCalendar with a time range defined by the
specified values and the specified baseCalendar . |
DailyCalendar(Calendar baseCalendar,
java.lang.String rangeStartingTime,
java.lang.String rangeEndingTime)
Create a
DailyCalendar with a time range defined by the
specified strings and the specified baseCalendar . |
DailyCalendar(Calendar baseCalendar,
java.util.TimeZone timeZone,
long rangeStartingTimeInMillis,
long rangeEndingTimeInMillis)
Create a
DailyCalendar with a time range defined by the
specified values and the specified baseCalendar . |
DailyCalendar(java.lang.String name,
Calendar baseCalendar,
java.util.Calendar rangeStartingCalendar,
java.util.Calendar rangeEndingCalendar)
Deprecated.
The use of
name is no longer supported. |
DailyCalendar(java.lang.String name,
Calendar baseCalendar,
int rangeStartingHourOfDay,
int rangeStartingMinute,
int rangeStartingSecond,
int rangeStartingMillis,
int rangeEndingHourOfDay,
int rangeEndingMinute,
int rangeEndingSecond,
int rangeEndingMillis)
Deprecated.
The use of
name is no longer supported. |
DailyCalendar(java.lang.String name,
Calendar baseCalendar,
long rangeStartingTimeInMillis,
long rangeEndingTimeInMillis)
Deprecated.
The use of
name is no longer supported. |
DailyCalendar(java.lang.String name,
Calendar baseCalendar,
java.lang.String rangeStartingTime,
java.lang.String rangeEndingTime)
Deprecated.
The use of
name is no longer supported. |
DailyCalendar(java.lang.String name,
Calendar baseCalendar,
java.util.TimeZone timeZone,
long rangeStartingTimeInMillis,
long rangeEndingTimeInMillis)
Deprecated.
The use of
name is no longer supported. |
HolidayCalendar(Calendar baseCalendar) |
HolidayCalendar(Calendar baseCalendar,
java.util.TimeZone timeZone) |
MonthlyCalendar(Calendar baseCalendar) |
MonthlyCalendar(Calendar baseCalendar,
java.util.TimeZone timeZone) |
WeeklyCalendar(Calendar baseCalendar) |
WeeklyCalendar(Calendar baseCalendar,
java.util.TimeZone timeZone) |
Modifier and Type | Method and Description |
---|---|
Calendar |
JobStoreSupport.retrieveCalendar(SchedulingContext ctxt,
java.lang.String calName)
Retrieve the given
. |
Calendar |
StdJDBCDelegate.selectCalendar(java.sql.Connection conn,
java.lang.String calendarName)
Select a calendar.
|
Modifier and Type | Method and Description |
---|---|
int |
StdJDBCDelegate.insertCalendar(java.sql.Connection conn,
java.lang.String calendarName,
Calendar calendar)
Insert a new calendar.
|
int |
PointbaseDelegate.insertCalendar(java.sql.Connection conn,
java.lang.String calendarName,
Calendar calendar)
Insert a new calendar.
|
void |
JobStoreSupport.storeCalendar(SchedulingContext ctxt,
java.lang.String calName,
Calendar calendar,
boolean replaceExisting,
boolean updateTriggers)
Store the given
. |
int |
StdJDBCDelegate.updateCalendar(java.sql.Connection conn,
java.lang.String calendarName,
Calendar calendar)
Update a calendar.
|
int |
PointbaseDelegate.updateCalendar(java.sql.Connection conn,
java.lang.String calendarName,
Calendar calendar)
Update a calendar.
|
Modifier and Type | Method and Description |
---|---|
Calendar |
RAMJobStore.retrieveCalendar(SchedulingContext ctxt,
java.lang.String calName)
Retrieve the given
. |
Modifier and Type | Method and Description |
---|---|
void |
RAMJobStore.storeCalendar(SchedulingContext ctxt,
java.lang.String name,
Calendar calendar,
boolean replaceExisting,
boolean updateTriggers)
Store the given
. |
Modifier and Type | Method and Description |
---|---|
Calendar |
TriggerFiredBundle.getCalendar() |
Calendar |
JobStore.retrieveCalendar(SchedulingContext ctxt,
java.lang.String calName)
Retrieve the given
. |
Modifier and Type | Method and Description |
---|---|
void |
JobStore.storeCalendar(SchedulingContext ctxt,
java.lang.String name,
Calendar calendar,
boolean replaceExisting,
boolean updateTriggers)
Store the given
. |
Constructor and Description |
---|
TriggerFiredBundle(JobDetail job,
Trigger trigger,
Calendar cal,
boolean jobIsRecovering,
java.util.Date fireTime,
java.util.Date scheduledFireTime,
java.util.Date prevFireTime,
java.util.Date nextFireTime) |
Modifier and Type | Class and Description |
---|---|
class |
CalendarBundle
Wraps a
Calendar . |
Modifier and Type | Method and Description |
---|---|
Calendar |
CalendarBundle.getBaseCalendar() |
Calendar |
CalendarBundle.getCalendar() |
Modifier and Type | Method and Description |
---|---|
void |
CalendarBundle.setBaseCalendar(Calendar baseCalendar) |
void |
CalendarBundle.setCalendar(Calendar calendar) |