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.jdbcjobstore | |
org.quartz.impl.matchers | |
org.quartz.impl.triggers |
This package contains Trigger implementations that ship with Quartz.
|
org.quartz.listeners | |
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 | |
org.terracotta.quartz | |
org.terracotta.quartz.collections | |
org.terracotta.quartz.wrappers |
Modifier and Type | Method and Description |
---|---|
TriggerKey |
Trigger.getKey() |
TriggerKey |
JobExecutionContext.getRecoveringTriggerKey()
Return the
TriggerKey of the originally scheduled and now recovering job. |
static TriggerKey |
TriggerKey.triggerKey(String name) |
static TriggerKey |
TriggerKey.triggerKey(String name,
String group) |
Modifier and Type | Method and Description |
---|---|
Set<TriggerKey> |
Scheduler.getTriggerKeys(GroupMatcher<TriggerKey> matcher)
Get the names of all the
in the given
group. |
List<Matcher<TriggerKey>> |
ListenerManager.getTriggerListenerMatchers(String listenerName)
Get the set of Matchers for which the listener
will receive events if ANY of the matchers match.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Scheduler.checkExists(TriggerKey triggerKey)
Determine whether a
Trigger with the given identifier already
exists within the scheduler. |
static int |
Trigger.TriggerTimeComparator.compare(Date nextFireTime1,
int priority1,
TriggerKey key1,
Date nextFireTime2,
int priority2,
TriggerKey key2) |
Trigger |
Scheduler.getTrigger(TriggerKey triggerKey)
Get the
instance with the given key. |
Trigger.TriggerState |
Scheduler.getTriggerState(TriggerKey triggerKey)
Get the current state of the identified
. |
void |
SchedulerListener.jobUnscheduled(TriggerKey triggerKey)
|
void |
Scheduler.pauseTrigger(TriggerKey triggerKey)
Pause the
with the given key. |
Date |
Scheduler.rescheduleJob(TriggerKey triggerKey,
Trigger newTrigger)
Remove (delete) the
with the
given key, and store the new given one - which must be associated
with the same job (the new trigger must have the job name & group specified)
- however, the new trigger need not have the same name as the old trigger. |
void |
Scheduler.resetTriggerFromErrorState(TriggerKey triggerKey)
Reset the current state of the identified
from Trigger.TriggerState.ERROR to Trigger.TriggerState.NORMAL or
Trigger.TriggerState.PAUSED as appropriate. |
void |
Scheduler.resumeTrigger(TriggerKey triggerKey)
Resume (un-pause) the
with the given
key. |
void |
SchedulerListener.triggerPaused(TriggerKey triggerKey)
|
void |
SchedulerListener.triggerResumed(TriggerKey triggerKey)
|
boolean |
Scheduler.unscheduleJob(TriggerKey triggerKey)
Remove the indicated
from the scheduler. |
TriggerBuilder<T> |
TriggerBuilder.withIdentity(TriggerKey triggerKey)
Use the given TriggerKey to identify the Trigger.
|
Modifier and Type | Method and Description |
---|---|
void |
ListenerManager.addTriggerListener(TriggerListener triggerListener,
List<Matcher<TriggerKey>> matchers)
Add the given
to the Scheduler ,
and register it to receive events for Triggers that are matched by ANY of the
given Matchers. |
void |
ListenerManager.addTriggerListener(TriggerListener triggerListener,
Matcher<TriggerKey> matcher)
Add the given
to the Scheduler ,
and register it to receive events for Triggers that are matched by the
given Matcher. |
boolean |
ListenerManager.addTriggerListenerMatcher(String listenerName,
Matcher<TriggerKey> matcher)
Add the given Matcher to the set of matchers for which the listener
will receive events if ANY of the matchers match.
|
Set<TriggerKey> |
Scheduler.getTriggerKeys(GroupMatcher<TriggerKey> matcher)
Get the names of all the
in the given
group. |
void |
Scheduler.pauseTriggers(GroupMatcher<TriggerKey> matcher)
Pause all of the
in the groups matching. |
boolean |
ListenerManager.removeTriggerListenerMatcher(String listenerName,
Matcher<TriggerKey> matcher)
Remove the given Matcher to the set of matchers for which the listener
will receive events if ANY of the matchers match.
|
void |
Scheduler.resumeTriggers(GroupMatcher<TriggerKey> matcher)
Resume (un-pause) all of the
in matching groups. |
boolean |
ListenerManager.setTriggerListenerMatchers(String listenerName,
List<Matcher<TriggerKey>> matchers)
Set the set of Matchers for which the listener
will receive events if ANY of the matchers match.
|
boolean |
Scheduler.unscheduleJobs(List<TriggerKey> triggerKeys)
Remove all of the indicated
s from the scheduler. |
Modifier and Type | Method and Description |
---|---|
Set<TriggerKey> |
RemotableQuartzScheduler.getTriggerKeys(GroupMatcher<TriggerKey> matcher) |
Set<TriggerKey> |
QuartzScheduler.getTriggerKeys(GroupMatcher<TriggerKey> matcher)
Get the names of all the
in
the matching groups. |
List<Matcher<TriggerKey>> |
ListenerManagerImpl.getTriggerListenerMatchers(String listenerName) |
Modifier and Type | Method and Description |
---|---|
boolean |
RemotableQuartzScheduler.checkExists(TriggerKey triggerKey) |
boolean |
QuartzScheduler.checkExists(TriggerKey triggerKey)
Determine whether a
Trigger with the given identifier already
exists within the scheduler. |
Trigger |
RemotableQuartzScheduler.getTrigger(TriggerKey triggerKey) |
Trigger |
QuartzScheduler.getTrigger(TriggerKey triggerKey)
Get the
instance with the given name and
group. |
Trigger.TriggerState |
RemotableQuartzScheduler.getTriggerState(TriggerKey triggerKey) |
Trigger.TriggerState |
QuartzScheduler.getTriggerState(TriggerKey triggerKey)
Get the current state of the identified
. |
void |
QuartzSchedulerMBeanImpl.jobUnscheduled(TriggerKey triggerKey) |
void |
QuartzScheduler.notifySchedulerListenersPausedTrigger(TriggerKey triggerKey) |
void |
QuartzScheduler.notifySchedulerListenersResumedTrigger(TriggerKey key) |
void |
QuartzScheduler.notifySchedulerListenersUnscheduled(TriggerKey triggerKey) |
void |
RemotableQuartzScheduler.pauseTrigger(TriggerKey triggerKey) |
void |
QuartzScheduler.pauseTrigger(TriggerKey triggerKey)
Pause the
with the given name. |
Date |
RemotableQuartzScheduler.rescheduleJob(TriggerKey triggerKey,
Trigger newTrigger) |
Date |
QuartzScheduler.rescheduleJob(TriggerKey triggerKey,
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.resetTriggerFromErrorState(TriggerKey triggerKey) |
void |
QuartzScheduler.resetTriggerFromErrorState(TriggerKey triggerKey) |
void |
RemotableQuartzScheduler.resumeTrigger(TriggerKey triggerKey) |
void |
QuartzScheduler.resumeTrigger(TriggerKey triggerKey)
Resume (un-pause) the
with the given
name. |
void |
QuartzSchedulerMBeanImpl.triggerPaused(TriggerKey triggerKey) |
void |
QuartzSchedulerMBeanImpl.triggerResumed(TriggerKey triggerKey) |
boolean |
RemotableQuartzScheduler.unscheduleJob(TriggerKey triggerKey) |
boolean |
QuartzScheduler.unscheduleJob(TriggerKey triggerKey)
Remove the indicated
from the
scheduler. |
Modifier and Type | Method and Description |
---|---|
void |
ListenerManagerImpl.addTriggerListener(TriggerListener triggerListener,
List<Matcher<TriggerKey>> matchers) |
void |
ListenerManagerImpl.addTriggerListener(TriggerListener triggerListener,
Matcher<TriggerKey> matcher) |
boolean |
ListenerManagerImpl.addTriggerListenerMatcher(String listenerName,
Matcher<TriggerKey> matcher) |
Set<TriggerKey> |
RemotableQuartzScheduler.getTriggerKeys(GroupMatcher<TriggerKey> matcher) |
Set<TriggerKey> |
QuartzScheduler.getTriggerKeys(GroupMatcher<TriggerKey> matcher)
Get the names of all the
in
the matching groups. |
void |
RemotableQuartzScheduler.pauseTriggers(GroupMatcher<TriggerKey> matcher) |
void |
QuartzScheduler.pauseTriggers(GroupMatcher<TriggerKey> matcher)
Pause all of the
in the matching groups. |
boolean |
ListenerManagerImpl.removeTriggerListenerMatcher(String listenerName,
Matcher<TriggerKey> matcher) |
void |
RemotableQuartzScheduler.resumeTriggers(GroupMatcher<TriggerKey> matcher) |
void |
QuartzScheduler.resumeTriggers(GroupMatcher<TriggerKey> matcher)
Resume (un-pause) all of the
in the
matching groups. |
boolean |
ListenerManagerImpl.setTriggerListenerMatchers(String listenerName,
List<Matcher<TriggerKey>> matchers) |
boolean |
RemotableQuartzScheduler.unscheduleJobs(List<TriggerKey> triggerKeys) |
boolean |
QuartzScheduler.unscheduleJobs(List<TriggerKey> triggerKeys) |
Modifier and Type | Method and Description |
---|---|
TriggerKey |
JobExecutionContextImpl.getRecoveringTriggerKey() |
Modifier and Type | Method and Description |
---|---|
Set<TriggerKey> |
StdScheduler.getTriggerKeys(GroupMatcher<TriggerKey> matcher)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
Set<TriggerKey> |
RemoteScheduler.getTriggerKeys(GroupMatcher<TriggerKey> matcher)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
Set<TriggerKey> |
RemoteMBeanScheduler.getTriggerKeys(GroupMatcher<TriggerKey> matcher)
Calls the equivalent method on the 'proxied'
QuartzScheduler ,
passing the SchedulingContext associated with this
instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
StdScheduler.checkExists(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
boolean |
RemoteScheduler.checkExists(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
boolean |
RemoteMBeanScheduler.checkExists(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
Trigger |
StdScheduler.getTrigger(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
Trigger |
RemoteScheduler.getTrigger(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
Trigger |
RemoteMBeanScheduler.getTrigger(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
Trigger.TriggerState |
StdScheduler.getTriggerState(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
Trigger.TriggerState |
RemoteScheduler.getTriggerState(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
Trigger.TriggerState |
RemoteMBeanScheduler.getTriggerState(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler ,
passing the SchedulingContext associated with this
instance. |
void |
StdScheduler.pauseTrigger(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
void |
RemoteScheduler.pauseTrigger(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
void |
RemoteMBeanScheduler.pauseTrigger(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler ,
passing the SchedulingContext associated with this
instance. |
Date |
StdScheduler.rescheduleJob(TriggerKey triggerKey,
Trigger newTrigger)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
Date |
RemoteScheduler.rescheduleJob(TriggerKey triggerKey,
Trigger newTrigger)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
Date |
RemoteMBeanScheduler.rescheduleJob(TriggerKey triggerKey,
Trigger newTrigger)
Calls the equivalent method on the 'proxied'
QuartzScheduler ,
passing the SchedulingContext associated with this
instance. |
void |
StdScheduler.resetTriggerFromErrorState(TriggerKey triggerKey)
Reset the current state of the identified
from Trigger.TriggerState.ERROR to Trigger.TriggerState.NORMAL or
Trigger.TriggerState.PAUSED as appropriate. |
void |
RemoteScheduler.resetTriggerFromErrorState(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
void |
RemoteMBeanScheduler.resetTriggerFromErrorState(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler ,
passing the SchedulingContext associated with this
instance. |
void |
StdScheduler.resumeTrigger(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
void |
RemoteScheduler.resumeTrigger(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
void |
RemoteMBeanScheduler.resumeTrigger(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler ,
passing the SchedulingContext associated with this
instance. |
boolean |
StdScheduler.unscheduleJob(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
boolean |
RemoteScheduler.unscheduleJob(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
boolean |
RemoteMBeanScheduler.unscheduleJob(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler ,
passing the SchedulingContext associated with this
instance. |
Modifier and Type | Method and Description |
---|---|
Set<TriggerKey> |
StdScheduler.getTriggerKeys(GroupMatcher<TriggerKey> matcher)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
Set<TriggerKey> |
RemoteScheduler.getTriggerKeys(GroupMatcher<TriggerKey> matcher)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
Set<TriggerKey> |
RemoteMBeanScheduler.getTriggerKeys(GroupMatcher<TriggerKey> matcher)
Calls the equivalent method on the 'proxied'
QuartzScheduler ,
passing the SchedulingContext associated with this
instance. |
void |
StdScheduler.pauseTriggers(GroupMatcher<TriggerKey> matcher)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
void |
RemoteScheduler.pauseTriggers(GroupMatcher<TriggerKey> matcher)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
void |
RemoteMBeanScheduler.pauseTriggers(GroupMatcher<TriggerKey> matcher)
Calls the equivalent method on the 'proxied'
QuartzScheduler ,
passing the SchedulingContext associated with this
instance. |
void |
StdScheduler.resumeTriggers(GroupMatcher<TriggerKey> matcher)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
void |
RemoteScheduler.resumeTriggers(GroupMatcher<TriggerKey> matcher)
Calls the equivalent method on the 'proxied'
QuartzScheduler . |
void |
RemoteMBeanScheduler.resumeTriggers(GroupMatcher<TriggerKey> matcher)
Calls the equivalent method on the 'proxied'
QuartzScheduler ,
passing the SchedulingContext associated with this
instance. |
boolean |
StdScheduler.unscheduleJobs(List<TriggerKey> triggerKeys) |
boolean |
RemoteScheduler.unscheduleJobs(List<TriggerKey> triggerKeys) |
boolean |
RemoteMBeanScheduler.unscheduleJobs(List<TriggerKey> triggerKeys) |
Modifier and Type | Method and Description |
---|---|
TriggerKey |
TriggerStatus.getKey() |
TriggerKey |
FiredTriggerRecord.getTriggerKey() |
TriggerKey |
StdJDBCDelegate.selectTriggerForFireTime(Connection conn,
long fireTime)
Select the trigger that will be fired at the given fire time.
|
Modifier and Type | Method and Description |
---|---|
Set<TriggerKey> |
JobStoreSupport.getTriggerKeys(GroupMatcher<TriggerKey> matcher)
Get the names of all of the
s
that match the given group Matcher. |
protected Set<TriggerKey> |
JobStoreSupport.getTriggerNames(Connection conn,
GroupMatcher<TriggerKey> matcher) |
List<TriggerKey> |
StdJDBCDelegate.selectMisfiredTriggers(Connection conn,
long ts)
Get the names of all of the triggers that have misfired.
|
List<TriggerKey> |
DriverDelegate.selectMisfiredTriggers(Connection conn,
long ts)
Get the names of all of the triggers that have misfired - according to
the given timestamp.
|
List<TriggerKey> |
StdJDBCDelegate.selectMisfiredTriggersInGroupInState(Connection conn,
String groupName,
String state,
long ts)
Get the names of all of the triggers in the given group and state that
have misfired.
|
List<TriggerKey> |
DriverDelegate.selectMisfiredTriggersInGroupInState(Connection conn,
String groupName,
String state,
long ts)
Get the names of all of the triggers in the given group and state that
have misfired - according to the given timestamp.
|
List<TriggerKey> |
StdJDBCDelegate.selectMisfiredTriggersInState(Connection conn,
String state,
long ts) |
List<TriggerKey> |
DriverDelegate.selectMisfiredTriggersInState(Connection conn,
String state,
long ts)
Get the names of all of the triggers in the given state that have
misfired - according to the given timestamp.
|
List<TriggerKey> |
StdJDBCDelegate.selectTriggerKeysForJob(Connection conn,
JobKey jobKey)
Get the names of all of the triggers associated with the given job.
|
List<TriggerKey> |
DriverDelegate.selectTriggerKeysForJob(Connection conn,
JobKey jobKey)
Get the names of all of the triggers associated with the given job.
|
Set<TriggerKey> |
StdJDBCDelegate.selectTriggersInGroup(Connection conn,
GroupMatcher<TriggerKey> matcher)
Select all of the triggers contained in a given group.
|
Set<TriggerKey> |
DriverDelegate.selectTriggersInGroup(Connection conn,
GroupMatcher<TriggerKey> matcher)
Select all of the triggers contained in a given group.
|
List<TriggerKey> |
StdJDBCDelegate.selectTriggersInState(Connection conn,
String state)
Select all of the triggers in a given state.
|
List<TriggerKey> |
DriverDelegate.selectTriggersInState(Connection conn,
String state)
Select all of the triggers in a given state.
|
List<TriggerKey> |
StdJDBCDelegate.selectTriggerToAcquire(Connection conn,
long noLaterThan,
long noEarlierThan)
Deprecated.
- This remained for compatibility reason. Use
StdJDBCDelegate.selectTriggerToAcquire(Connection, long, long, int) instead. |
List<TriggerKey> |
DriverDelegate.selectTriggerToAcquire(Connection conn,
long noLaterThan,
long noEarlierThan)
Deprecated.
- This remained for compatibility reason. Use
DriverDelegate.selectTriggerToAcquire(Connection, long, long, int) instead. |
List<TriggerKey> |
StdJDBCDelegate.selectTriggerToAcquire(Connection conn,
long noLaterThan,
long noEarlierThan,
int maxCount)
Select the next trigger which will fire to fire between the two given timestamps
in ascending order of fire time, and then descending by priority.
|
List<TriggerKey> |
DriverDelegate.selectTriggerToAcquire(Connection conn,
long noLaterThan,
long noEarlierThan,
int maxCount)
Select the next trigger which will fire to fire between the two given timestamps
in ascending order of fire time, and then descending by priority.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
JobStoreSupport.checkExists(Connection conn,
TriggerKey triggerKey) |
boolean |
JobStoreSupport.checkExists(TriggerKey triggerKey)
Determine whether a
Trigger with the given identifier already
exists within the scheduler. |
int |
StdJDBCDelegate.deleteBlobTrigger(Connection conn,
TriggerKey triggerKey)
Delete the cron trigger data for a trigger.
|
int |
TriggerPersistenceDelegate.deleteExtendedTriggerProperties(Connection conn,
TriggerKey triggerKey) |
int |
SimpleTriggerPersistenceDelegate.deleteExtendedTriggerProperties(Connection conn,
TriggerKey triggerKey) |
int |
SimplePropertiesTriggerPersistenceDelegateSupport.deleteExtendedTriggerProperties(Connection conn,
TriggerKey triggerKey) |
int |
CronTriggerPersistenceDelegate.deleteExtendedTriggerProperties(Connection conn,
TriggerKey triggerKey) |
int |
StdJDBCDelegate.deleteTrigger(Connection conn,
TriggerKey triggerKey)
Delete the base trigger data for a trigger.
|
int |
DriverDelegate.deleteTrigger(Connection conn,
TriggerKey triggerKey)
Delete the base trigger data for a trigger.
|
protected void |
StdJDBCDelegate.deleteTriggerExtension(Connection conn,
TriggerKey triggerKey) |
Trigger.TriggerState |
JobStoreSupport.getTriggerState(Connection conn,
TriggerKey key) |
Trigger.TriggerState |
JobStoreSupport.getTriggerState(TriggerKey triggerKey)
Get the current state of the identified
. |
TriggerPersistenceDelegate.TriggerPropertyBundle |
TriggerPersistenceDelegate.loadExtendedTriggerProperties(Connection conn,
TriggerKey triggerKey) |
TriggerPersistenceDelegate.TriggerPropertyBundle |
SimpleTriggerPersistenceDelegate.loadExtendedTriggerProperties(Connection conn,
TriggerKey triggerKey) |
TriggerPersistenceDelegate.TriggerPropertyBundle |
SimplePropertiesTriggerPersistenceDelegateSupport.loadExtendedTriggerProperties(Connection conn,
TriggerKey triggerKey) |
TriggerPersistenceDelegate.TriggerPropertyBundle |
CronTriggerPersistenceDelegate.loadExtendedTriggerProperties(Connection conn,
TriggerKey triggerKey) |
void |
JobStoreSupport.pauseTrigger(Connection conn,
TriggerKey triggerKey)
Pause the
with the given name. |
void |
JobStoreSupport.pauseTrigger(TriggerKey triggerKey)
Pause the
with the given name. |
protected boolean |
JobStoreSupport.removeTrigger(Connection conn,
TriggerKey key) |
boolean |
JobStoreSupport.removeTrigger(TriggerKey triggerKey)
Remove (delete) the
with the
given name. |
protected boolean |
JobStoreSupport.replaceTrigger(Connection conn,
TriggerKey key,
OperableTrigger newTrigger) |
boolean |
JobStoreSupport.replaceTrigger(TriggerKey triggerKey,
OperableTrigger newTrigger) |
void |
JobStoreSupport.resetTriggerFromErrorState(TriggerKey triggerKey)
Reset the current state of the identified
from Trigger.TriggerState.ERROR to Trigger.TriggerState.NORMAL or
Trigger.TriggerState.PAUSED as appropriate. |
void |
JobStoreSupport.resumeTrigger(Connection conn,
TriggerKey key)
Resume (un-pause) the
with the
given name. |
void |
JobStoreSupport.resumeTrigger(TriggerKey triggerKey)
Resume (un-pause) the
with the
given name. |
protected OperableTrigger |
JobStoreSupport.retrieveTrigger(Connection conn,
TriggerKey key) |
OperableTrigger |
JobStoreSupport.retrieveTrigger(TriggerKey triggerKey)
Retrieve the given
. |
JobDetail |
StdJDBCDelegate.selectJobForTrigger(Connection conn,
ClassLoadHelper loadHelper,
TriggerKey triggerKey)
Select the job to which the trigger is associated.
|
JobDetail |
DriverDelegate.selectJobForTrigger(Connection conn,
ClassLoadHelper loadHelper,
TriggerKey triggerKey)
Select the job to which the trigger is associated.
|
JobDetail |
StdJDBCDelegate.selectJobForTrigger(Connection conn,
ClassLoadHelper loadHelper,
TriggerKey triggerKey,
boolean loadJobClass)
Select the job to which the trigger is associated.
|
JobDetail |
DriverDelegate.selectJobForTrigger(Connection conn,
ClassLoadHelper loadHelper,
TriggerKey triggerKey,
boolean loadJobClass)
Select the job to which the trigger is associated.
|
OperableTrigger |
StdJDBCDelegate.selectTrigger(Connection conn,
TriggerKey triggerKey)
Select a trigger.
|
OperableTrigger |
DriverDelegate.selectTrigger(Connection conn,
TriggerKey triggerKey)
Select a trigger.
|
String |
StdJDBCDelegate.selectTriggerState(Connection conn,
TriggerKey triggerKey)
Select a trigger' state value.
|
String |
DriverDelegate.selectTriggerState(Connection conn,
TriggerKey triggerKey)
Select a trigger' state value.
|
TriggerStatus |
StdJDBCDelegate.selectTriggerStatus(Connection conn,
TriggerKey triggerKey)
Select a trigger' status (state & next fire time).
|
TriggerStatus |
DriverDelegate.selectTriggerStatus(Connection conn,
TriggerKey triggerKey)
Select a trigger' status (state & next fire time).
|
void |
TriggerStatus.setKey(TriggerKey key) |
void |
FiredTriggerRecord.setTriggerKey(TriggerKey key) |
boolean |
StdJDBCDelegate.triggerExists(Connection conn,
TriggerKey triggerKey)
Check whether or not a trigger exists.
|
protected boolean |
JobStoreSupport.triggerExists(Connection conn,
TriggerKey key)
Check existence of a given trigger.
|
boolean |
DriverDelegate.triggerExists(Connection conn,
TriggerKey triggerKey)
Check whether or not a trigger exists.
|
protected boolean |
JobStoreSupport.updateMisfiredTrigger(Connection conn,
TriggerKey triggerKey,
String newStateIfNotComplete,
boolean forceState) |
int |
StdJDBCDelegate.updateTriggerState(Connection conn,
TriggerKey triggerKey,
String state)
Update the state for a given trigger.
|
int |
DriverDelegate.updateTriggerState(Connection conn,
TriggerKey triggerKey,
String state)
Update the state for a given trigger.
|
int |
StdJDBCDelegate.updateTriggerStateFromOtherState(Connection conn,
TriggerKey triggerKey,
String newState,
String oldState)
Update the given trigger to the given new state, if it is in the given
old state.
|
int |
DriverDelegate.updateTriggerStateFromOtherState(Connection conn,
TriggerKey triggerKey,
String newState,
String oldState)
Update the given trigger to the given new state, if it is in the given
old state.
|
int |
StdJDBCDelegate.updateTriggerStateFromOtherStates(Connection conn,
TriggerKey triggerKey,
String newState,
String oldState1,
String oldState2,
String oldState3)
Update the given trigger to the given new state, if it is one of the
given old states.
|
int |
DriverDelegate.updateTriggerStateFromOtherStates(Connection conn,
TriggerKey triggerKey,
String newState,
String oldState1,
String oldState2,
String oldState3)
Update the given trigger to the given new state, if it is one of the
given old states.
|
Modifier and Type | Method and Description |
---|---|
int |
StdJDBCDelegate.deletePausedTriggerGroup(Connection conn,
GroupMatcher<TriggerKey> matcher) |
int |
DriverDelegate.deletePausedTriggerGroup(Connection conn,
GroupMatcher<TriggerKey> matcher) |
Set<TriggerKey> |
JobStoreSupport.getTriggerKeys(GroupMatcher<TriggerKey> matcher)
Get the names of all of the
s
that match the given group Matcher. |
protected Set<TriggerKey> |
JobStoreSupport.getTriggerNames(Connection conn,
GroupMatcher<TriggerKey> matcher) |
boolean |
StdJDBCDelegate.hasMisfiredTriggersInState(Connection conn,
String state1,
long ts,
int count,
List<TriggerKey> resultList)
Get the names of all of the triggers in the given state that have
misfired - according to the given timestamp.
|
boolean |
DriverDelegate.hasMisfiredTriggersInState(Connection conn,
String state1,
long ts,
int count,
List<TriggerKey> resultList)
Get the names of all of the triggers in the given states that have
misfired - according to the given timestamp.
|
Set<String> |
JobStoreSupport.pauseTriggerGroup(Connection conn,
GroupMatcher<TriggerKey> matcher)
Pause all of the
matching the
given groupMatcher. |
Set<String> |
JobStoreSupport.pauseTriggers(GroupMatcher<TriggerKey> matcher)
Pause all of the
matching the
given groupMatcher. |
boolean |
JobStoreSupport.removeTriggers(List<TriggerKey> triggerKeys) |
Set<String> |
JobStoreSupport.resumeTriggerGroup(Connection conn,
GroupMatcher<TriggerKey> matcher)
Resume (un-pause) all of the
matching the given groupMatcher. |
Set<String> |
JobStoreSupport.resumeTriggers(GroupMatcher<TriggerKey> matcher)
Resume (un-pause) all of the
matching the given groupMatcher. |
List<String> |
StdJDBCDelegate.selectTriggerGroups(Connection conn,
GroupMatcher<TriggerKey> matcher) |
List<String> |
DriverDelegate.selectTriggerGroups(Connection conn,
GroupMatcher<TriggerKey> matcher) |
Set<TriggerKey> |
StdJDBCDelegate.selectTriggersInGroup(Connection conn,
GroupMatcher<TriggerKey> matcher)
Select all of the triggers contained in a given group.
|
Set<TriggerKey> |
DriverDelegate.selectTriggersInGroup(Connection conn,
GroupMatcher<TriggerKey> matcher)
Select all of the triggers contained in a given group.
|
int |
StdJDBCDelegate.updateTriggerGroupStateFromOtherState(Connection conn,
GroupMatcher<TriggerKey> matcher,
String newState,
String oldState)
Update all of the triggers of the given group to the given new state, if
they are in the given old state.
|
int |
DriverDelegate.updateTriggerGroupStateFromOtherState(Connection conn,
GroupMatcher<TriggerKey> matcher,
String newState,
String oldState)
Update all of the triggers of the given group to the given new state, if
they are in the given old state.
|
int |
StdJDBCDelegate.updateTriggerGroupStateFromOtherStates(Connection conn,
GroupMatcher<TriggerKey> matcher,
String newState,
String oldState1,
String oldState2,
String oldState3)
Update all triggers in the given group to the given new state, if they
are in one of the given old states.
|
int |
DriverDelegate.updateTriggerGroupStateFromOtherStates(Connection conn,
GroupMatcher<TriggerKey> matcher,
String newState,
String oldState1,
String oldState2,
String oldState3)
Update all triggers in the given group to the given new state, if they
are in one of the given old states.
|
Modifier and Type | Method and Description |
---|---|
static EverythingMatcher<TriggerKey> |
EverythingMatcher.allTriggers()
Create an EverythingMatcher that matches all triggers.
|
static GroupMatcher<TriggerKey> |
GroupMatcher.anyTriggerGroup()
Create a GroupMatcher that matches trigger groups starting with the given string.
|
static GroupMatcher<TriggerKey> |
GroupMatcher.triggerGroupContains(String compareTo)
Create a GroupMatcher that matches trigger groups containing the given string.
|
static GroupMatcher<TriggerKey> |
GroupMatcher.triggerGroupEndsWith(String compareTo)
Create a GroupMatcher that matches trigger groups ending with the given string.
|
static GroupMatcher<TriggerKey> |
GroupMatcher.triggerGroupEquals(String compareTo)
Create a GroupMatcher that matches trigger groups equaling the given string.
|
static GroupMatcher<TriggerKey> |
GroupMatcher.triggerGroupStartsWith(String compareTo)
Create a GroupMatcher that matches trigger groups starting with the given string.
|
static NameMatcher<TriggerKey> |
NameMatcher.triggerNameContains(String compareTo)
Create a NameMatcher that matches trigger names containing the given string.
|
static NameMatcher<TriggerKey> |
NameMatcher.triggerNameEndsWith(String compareTo)
Create a NameMatcher that matches trigger names ending with the given string.
|
static NameMatcher<TriggerKey> |
NameMatcher.triggerNameEquals(String compareTo)
Create a NameMatcher that matches trigger names equaling the given string.
|
static NameMatcher<TriggerKey> |
NameMatcher.triggerNameStartsWith(String compareTo)
Create a NameMatcher that matches trigger names starting with the given string.
|
Modifier and Type | Method and Description |
---|---|
TriggerKey |
AbstractTrigger.getKey() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractTrigger.setKey(TriggerKey key) |
Modifier and Type | Method and Description |
---|---|
void |
SchedulerListenerSupport.jobUnscheduled(TriggerKey triggerKey) |
void |
BroadcastSchedulerListener.jobUnscheduled(TriggerKey triggerKey) |
void |
SchedulerListenerSupport.triggerPaused(TriggerKey triggerKey) |
void |
BroadcastSchedulerListener.triggerPaused(TriggerKey key) |
void |
SchedulerListenerSupport.triggerResumed(TriggerKey triggerKey) |
void |
BroadcastSchedulerListener.triggerResumed(TriggerKey key) |
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,HashMap<TriggerKey,org.quartz.simpl.TriggerWrapper>> |
RAMJobStore.triggersByGroup |
protected HashMap<TriggerKey,org.quartz.simpl.TriggerWrapper> |
RAMJobStore.triggersByKey |
Modifier and Type | Method and Description |
---|---|
Set<TriggerKey> |
RAMJobStore.getTriggerKeys(GroupMatcher<TriggerKey> matcher)
Get the names of all of the
s
that match the given groupMatcher. |
Modifier and Type | Method and Description |
---|---|
boolean |
RAMJobStore.checkExists(TriggerKey triggerKey)
Determine whether a
Trigger with the given identifier already
exists within the scheduler. |
Trigger.TriggerState |
RAMJobStore.getTriggerState(TriggerKey triggerKey)
Get the current state of the identified
. |
void |
RAMJobStore.pauseTrigger(TriggerKey triggerKey)
Pause the
with the given name. |
boolean |
RAMJobStore.removeTrigger(TriggerKey triggerKey)
Remove (delete) the
with the
given name. |
boolean |
RAMJobStore.replaceTrigger(TriggerKey triggerKey,
OperableTrigger newTrigger) |
void |
RAMJobStore.resetTriggerFromErrorState(TriggerKey triggerKey)
Reset the current state of the identified
from Trigger.TriggerState.ERROR to Trigger.TriggerState.NORMAL or
Trigger.TriggerState.PAUSED as appropriate. |
void |
RAMJobStore.resumeTrigger(TriggerKey triggerKey)
Resume (un-pause) the
with the given
key. |
OperableTrigger |
RAMJobStore.retrieveTrigger(TriggerKey triggerKey)
Retrieve the given
. |
Modifier and Type | Method and Description |
---|---|
Set<TriggerKey> |
RAMJobStore.getTriggerKeys(GroupMatcher<TriggerKey> matcher)
Get the names of all of the
s
that match the given groupMatcher. |
List<String> |
RAMJobStore.pauseTriggers(GroupMatcher<TriggerKey> matcher)
Pause all of the known
matching. |
boolean |
RAMJobStore.removeTriggers(List<TriggerKey> triggerKeys) |
List<String> |
RAMJobStore.resumeTriggers(GroupMatcher<TriggerKey> matcher)
Resume (un-pause) all of the
in the
given group. |
Modifier and Type | Method and Description |
---|---|
Set<TriggerKey> |
JobStore.getTriggerKeys(GroupMatcher<TriggerKey> matcher)
Get the names of all of the
s
that have the given group name. |
Modifier and Type | Method and Description |
---|---|
boolean |
JobStore.checkExists(TriggerKey triggerKey)
Determine whether a
Trigger with the given identifier already
exists within the scheduler. |
Trigger.TriggerState |
JobStore.getTriggerState(TriggerKey triggerKey)
Get the current state of the identified
. |
void |
JobStore.pauseTrigger(TriggerKey triggerKey)
Pause the
with the given key. |
boolean |
JobStore.removeTrigger(TriggerKey triggerKey)
Remove (delete) the
with the
given key. |
boolean |
JobStore.replaceTrigger(TriggerKey triggerKey,
OperableTrigger newTrigger)
Remove (delete) the
with the
given key, and store the new given one - which must be associated
with the same job. |
void |
JobStore.resetTriggerFromErrorState(TriggerKey triggerKey)
Reset the current state of the identified
from Trigger.TriggerState.ERROR to Trigger.TriggerState.NORMAL or
Trigger.TriggerState.PAUSED as appropriate. |
void |
JobStore.resumeTrigger(TriggerKey triggerKey)
Resume (un-pause) the
with the
given key. |
OperableTrigger |
JobStore.retrieveTrigger(TriggerKey triggerKey)
Retrieve the given
. |
void |
MutableTrigger.setKey(TriggerKey key) |
Modifier and Type | Method and Description |
---|---|
Set<TriggerKey> |
JobStore.getTriggerKeys(GroupMatcher<TriggerKey> matcher)
Get the names of all of the
s
that have the given group name. |
Collection<String> |
JobStore.pauseTriggers(GroupMatcher<TriggerKey> matcher)
Pause all of the
in the
given group. |
boolean |
JobStore.removeTriggers(List<TriggerKey> triggerKeys) |
Collection<String> |
JobStore.resumeTriggers(GroupMatcher<TriggerKey> matcher)
Resume (un-pause) all of the
in the given group. |
Modifier and Type | Field and Description |
---|---|
protected List<TriggerKey> |
XMLSchedulingDataProcessor.triggersToDelete |
Modifier and Type | Method and Description |
---|---|
Set<TriggerKey> |
PlainTerracottaJobStore.getTriggerKeys(GroupMatcher<TriggerKey> matcher) |
Set<TriggerKey> |
AbstractTerracottaJobStore.getTriggerKeys(GroupMatcher<TriggerKey> matcher) |
Modifier and Type | Method and Description |
---|---|
boolean |
PlainTerracottaJobStore.checkExists(TriggerKey triggerKey) |
boolean |
AbstractTerracottaJobStore.checkExists(TriggerKey triggerKey) |
Trigger.TriggerState |
PlainTerracottaJobStore.getTriggerState(TriggerKey triggerKey) |
Trigger.TriggerState |
AbstractTerracottaJobStore.getTriggerState(TriggerKey triggerKey) |
void |
PlainTerracottaJobStore.pauseTrigger(TriggerKey triggerKey) |
void |
AbstractTerracottaJobStore.pauseTrigger(TriggerKey triggerKey) |
boolean |
PlainTerracottaJobStore.removeTrigger(TriggerKey triggerKey) |
boolean |
AbstractTerracottaJobStore.removeTrigger(TriggerKey triggerKey) |
boolean |
PlainTerracottaJobStore.replaceTrigger(TriggerKey triggerKey,
OperableTrigger newTrigger) |
boolean |
AbstractTerracottaJobStore.replaceTrigger(TriggerKey triggerKey,
OperableTrigger newTrigger) |
void |
PlainTerracottaJobStore.resetTriggerFromErrorState(TriggerKey triggerKey) |
void |
AbstractTerracottaJobStore.resetTriggerFromErrorState(TriggerKey triggerKey) |
void |
PlainTerracottaJobStore.resumeTrigger(TriggerKey triggerKey) |
void |
AbstractTerracottaJobStore.resumeTrigger(TriggerKey triggerKey) |
OperableTrigger |
PlainTerracottaJobStore.retrieveTrigger(TriggerKey triggerKey) |
OperableTrigger |
AbstractTerracottaJobStore.retrieveTrigger(TriggerKey triggerKey) |
Modifier and Type | Method and Description |
---|---|
Set<TriggerKey> |
PlainTerracottaJobStore.getTriggerKeys(GroupMatcher<TriggerKey> matcher) |
Set<TriggerKey> |
AbstractTerracottaJobStore.getTriggerKeys(GroupMatcher<TriggerKey> matcher) |
Collection<String> |
PlainTerracottaJobStore.pauseTriggers(GroupMatcher<TriggerKey> matcher) |
Collection<String> |
AbstractTerracottaJobStore.pauseTriggers(GroupMatcher<TriggerKey> matcher) |
boolean |
PlainTerracottaJobStore.removeTriggers(List<TriggerKey> triggerKeys) |
boolean |
AbstractTerracottaJobStore.removeTriggers(List<TriggerKey> arg0) |
Collection<String> |
PlainTerracottaJobStore.resumeTriggers(GroupMatcher<TriggerKey> matcher) |
Collection<String> |
AbstractTerracottaJobStore.resumeTriggers(GroupMatcher<TriggerKey> matcher) |
Modifier and Type | Method and Description |
---|---|
TriggerKey |
TimeTriggerSet.removeFirst() |
Modifier and Type | Method and Description |
---|---|
SerializedToolkitStore<TriggerKey,TriggerWrapper> |
ToolkitDSHolder.getOrCreateTriggersMap() |
Modifier and Type | Method and Description |
---|---|
TriggerKey |
TriggerWrapper.getKey() |
TriggerKey |
FiredTrigger.getTriggerKey() |
Modifier and Type | Method and Description |
---|---|
Set<TriggerKey> |
TriggerFacade.allTriggerKeys() |
Modifier and Type | Method and Description |
---|---|
boolean |
TriggerFacade.containsKey(TriggerKey key) |
TriggerWrapper |
TriggerFacade.get(TriggerKey key) |
void |
TriggerFacade.put(TriggerKey key,
TriggerWrapper value) |
TriggerWrapper |
TriggerFacade.remove(TriggerKey key) |
Constructor and Description |
---|
FiredTrigger(String clientId,
TriggerKey triggerKey,
long scheduledFireTime) |
FiredTrigger(String clientId,
TriggerKey triggerKey,
long scheduledFireTime,
long now) |
Copyright 2001-2019, Terracotta, Inc.