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.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.impl.jdbcjobstore.oracle | |
org.quartz.impl.triggers |
This package contains Trigger implementations that ship with Quartz.
|
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.terracotta.quartz | |
org.terracotta.quartz.wrappers |
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(String calName)
Get the
instance with the given name. |
Modifier and Type | Method and Description |
---|---|
void |
Scheduler.addCalendar(String calName,
Calendar calendar,
boolean replace,
boolean updateTriggers)
Add (register) the given
Calendar to the Scheduler. |
static Date |
TriggerUtils.computeEndTimeToAllowParticularNumberOfFirings(OperableTrigger trigg,
Calendar 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 List<Date> |
TriggerUtils.computeFireTimes(OperableTrigger trigg,
Calendar cal,
int numTimes)
Returns a list of Dates that are the next fire times of a
Trigger . |
static List<Date> |
TriggerUtils.computeFireTimesBetween(OperableTrigger trigg,
Calendar 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. |
void |
Calendar.setBaseCalendar(Calendar baseCalendar)
Set a new base calendar or remove the existing one.
|
Modifier and Type | Method and Description |
---|---|
Calendar |
RemotableQuartzScheduler.getCalendar(String calName) |
Calendar |
QuartzScheduler.getCalendar(String calName)
Get the
instance with the given name. |
Modifier and Type | Method and Description |
---|---|
void |
RemotableQuartzScheduler.addCalendar(String calName,
Calendar calendar,
boolean replace,
boolean updateTriggers) |
void |
QuartzScheduler.addCalendar(String calName,
Calendar calendar,
boolean replace,
boolean updateTriggers)
Add (register) the given
Calendar to the Scheduler. |
Modifier and Type | Method and Description |
---|---|
Calendar |
JobExecutionContextImpl.getCalendar()
Get a handle to the
Calendar referenced by the Trigger
instance that fired the Job . |
Calendar |
StdScheduler.getCalendar(String calName)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
Calendar |
RemoteScheduler.getCalendar(String calName)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
Calendar |
RemoteMBeanScheduler.getCalendar(String calName)
Calls th0e equivalent method on the 'proxied'
QuartzScheduler ,
passing the SchedulingContext associated with this
instance. |
Modifier and Type | Method and Description |
---|---|
void |
StdScheduler.addCalendar(String calName,
Calendar calendar,
boolean replace,
boolean updateTriggers)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
void |
RemoteScheduler.addCalendar(String calName,
Calendar calendar,
boolean replace,
boolean updateTriggers)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
void |
RemoteMBeanScheduler.addCalendar(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,
TimeZone timeZone) |
BaseCalendar(Calendar baseCalendar) |
BaseCalendar(Calendar baseCalendar,
TimeZone timeZone) |
CronCalendar(Calendar baseCalendar,
String expression)
Create a
CronCalendar with the given cron expression and
baseCalendar . |
CronCalendar(Calendar baseCalendar,
String expression,
TimeZone timeZone)
Create a
CronCalendar with the given cron exprssion,
baseCalendar , and TimeZone . |
DailyCalendar(Calendar baseCalendar,
Calendar rangeStartingCalendar,
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,
String rangeStartingTime,
String rangeEndingTime)
Create a
DailyCalendar with a time range defined by the
specified strings and the specified baseCalendar . |
DailyCalendar(Calendar baseCalendar,
TimeZone timeZone,
long rangeStartingTimeInMillis,
long rangeEndingTimeInMillis)
Create a
DailyCalendar with a time range defined by the
specified values and the specified baseCalendar . |
HolidayCalendar(Calendar baseCalendar) |
HolidayCalendar(Calendar baseCalendar,
TimeZone timeZone) |
MonthlyCalendar(Calendar baseCalendar) |
MonthlyCalendar(Calendar baseCalendar,
TimeZone timeZone) |
WeeklyCalendar(Calendar baseCalendar) |
WeeklyCalendar(Calendar baseCalendar,
TimeZone timeZone) |
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,Calendar> |
JobStoreSupport.calendarCache |
Modifier and Type | Method and Description |
---|---|
protected Calendar |
JobStoreSupport.retrieveCalendar(Connection conn,
String calName) |
Calendar |
JobStoreSupport.retrieveCalendar(String calName)
Retrieve the given
. |
Calendar |
StdJDBCDelegate.selectCalendar(Connection conn,
String calendarName)
Select a calendar.
|
Calendar |
DriverDelegate.selectCalendar(Connection conn,
String calendarName)
Select a calendar.
|
Modifier and Type | Method and Description |
---|---|
int |
StdJDBCDelegate.insertCalendar(Connection conn,
String calendarName,
Calendar calendar)
Insert a new calendar.
|
int |
PointbaseDelegate.insertCalendar(Connection conn,
String calendarName,
Calendar calendar)
Insert a new calendar.
|
int |
DriverDelegate.insertCalendar(Connection conn,
String calendarName,
Calendar calendar)
Insert a new calendar.
|
protected void |
JobStoreSupport.storeCalendar(Connection conn,
String calName,
Calendar calendar,
boolean replaceExisting,
boolean updateTriggers) |
void |
JobStoreSupport.storeCalendar(String calName,
Calendar calendar,
boolean replaceExisting,
boolean updateTriggers)
Store the given
. |
int |
StdJDBCDelegate.updateCalendar(Connection conn,
String calendarName,
Calendar calendar)
Update a calendar.
|
int |
PointbaseDelegate.updateCalendar(Connection conn,
String calendarName,
Calendar calendar)
Update a calendar.
|
int |
DriverDelegate.updateCalendar(Connection conn,
String calendarName,
Calendar calendar)
Update a calendar.
|
Modifier and Type | Method and Description |
---|---|
int |
OracleDelegate.insertCalendar(Connection conn,
String calendarName,
Calendar calendar) |
int |
OracleDelegate.updateCalendar(Connection conn,
String calendarName,
Calendar calendar) |
Modifier and Type | Method and Description |
---|---|
Date |
SimpleTriggerImpl.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. |
Date |
DailyTimeIntervalTriggerImpl.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. |
Date |
CronTriggerImpl.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. |
Date |
CalendarIntervalTriggerImpl.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. |
abstract Date |
AbstractTrigger.computeFirstFireTime(Calendar calendar)
This method should not be used by the Quartz client.
|
void |
SimpleTriggerImpl.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 |
DailyTimeIntervalTriggerImpl.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 |
CronTriggerImpl.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 |
CalendarIntervalTriggerImpl.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 |
AbstractTrigger.triggered(Calendar calendar)
This method should not be used by the Quartz client.
|
void |
SimpleTriggerImpl.updateAfterMisfire(Calendar cal)
Updates the
SimpleTrigger 's state based on the
MISFIRE_INSTRUCTION_XXX that was selected when the SimpleTrigger
was created. |
void |
DailyTimeIntervalTriggerImpl.updateAfterMisfire(Calendar cal)
Updates the
DailyTimeIntervalTrigger 's state based on the
MISFIRE_INSTRUCTION_XXX that was selected when the DailyTimeIntervalTrigger
was created. |
void |
CronTriggerImpl.updateAfterMisfire(Calendar cal)
Updates the
CronTrigger 's state based on the
MISFIRE_INSTRUCTION_XXX that was selected when the CronTrigger
was created. |
void |
CalendarIntervalTriggerImpl.updateAfterMisfire(Calendar cal)
Updates the
DateIntervalTrigger 's state based on the
MISFIRE_INSTRUCTION_XXX that was selected when the DateIntervalTrigger
was created. |
abstract void |
AbstractTrigger.updateAfterMisfire(Calendar cal)
This method should not be used by the Quartz client.
|
void |
SimpleTriggerImpl.updateWithNewCalendar(Calendar calendar,
long misfireThreshold) |
void |
DailyTimeIntervalTriggerImpl.updateWithNewCalendar(Calendar calendar,
long misfireThreshold) |
void |
CronTriggerImpl.updateWithNewCalendar(Calendar calendar,
long misfireThreshold) |
void |
CalendarIntervalTriggerImpl.updateWithNewCalendar(Calendar calendar,
long misfireThreshold) |
abstract void |
AbstractTrigger.updateWithNewCalendar(Calendar cal,
long misfireThreshold)
This method should not be used by the Quartz client.
|
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,Calendar> |
RAMJobStore.calendarsByName |
Modifier and Type | Method and Description |
---|---|
Calendar |
RAMJobStore.retrieveCalendar(String calName)
Retrieve the given
. |
Modifier and Type | Method and Description |
---|---|
void |
RAMJobStore.storeCalendar(String name,
Calendar calendar,
boolean replaceExisting,
boolean updateTriggers)
Store the given
. |
Modifier and Type | Method and Description |
---|---|
Calendar |
TriggerFiredBundle.getCalendar() |
Calendar |
JobStore.retrieveCalendar(String calName)
Retrieve the given
. |
Modifier and Type | Method and Description |
---|---|
Date |
OperableTrigger.computeFirstFireTime(Calendar calendar)
This method should not be used by the Quartz client.
|
void |
JobStore.storeCalendar(String name,
Calendar calendar,
boolean replaceExisting,
boolean updateTriggers)
Store the given
. |
void |
OperableTrigger.triggered(Calendar calendar)
This method should not be used by the Quartz client.
|
void |
OperableTrigger.updateAfterMisfire(Calendar cal)
This method should not be used by the Quartz client.
|
void |
OperableTrigger.updateWithNewCalendar(Calendar cal,
long misfireThreshold)
This method should not be used by the Quartz client.
|
Constructor and Description |
---|
TriggerFiredBundle(JobDetail job,
OperableTrigger trigger,
Calendar cal,
boolean jobIsRecovering,
Date fireTime,
Date scheduledFireTime,
Date prevFireTime,
Date nextFireTime) |
Modifier and Type | Method and Description |
---|---|
Calendar |
PlainTerracottaJobStore.retrieveCalendar(String calName) |
Calendar |
AbstractTerracottaJobStore.retrieveCalendar(String calName) |
Modifier and Type | Method and Description |
---|---|
void |
PlainTerracottaJobStore.storeCalendar(String name,
Calendar calendar,
boolean replaceExisting,
boolean updateTriggers) |
void |
AbstractTerracottaJobStore.storeCalendar(String name,
Calendar calendar,
boolean replaceExisting,
boolean updateTriggers) |
Modifier and Type | Method and Description |
---|---|
void |
TriggerWrapper.triggered(Calendar cal,
TriggerFacade triggerFacade) |
void |
TriggerWrapper.updateAfterMisfire(Calendar cal,
TriggerFacade triggerFacade) |
void |
TriggerWrapper.updateWithNewCalendar(Calendar cal,
long misfireThreshold,
TriggerFacade triggerFacade) |
Copyright 2001-2019, Terracotta, Inc.