IDriverDelegate Interface

Quartz.NET 3.0 API Documentation
This is the base interface for all driver delegate classes.

Namespace:  Quartz.Impl.AdoJobStore
Assembly:  Quartz (in Quartz.dll) Version: 3.0.0
Syntax

C#
public interface IDriverDelegate

The IDriverDelegate type exposes the following members.

Methods

  NameDescription
Public methodCalendarExists
Check whether or not a calendar exists.
Public methodCalendarIsReferenced
Check whether or not a calendar is referenced by any triggers.
Public methodClearData
Clear (delete!) all scheduling data - all IJobs, ITriggers ICalendars.
Public methodCountMisfiredTriggersInState
Counts the misfired triggers in states.
Public methodDeleteAllPausedTriggerGroups
Deletes all paused trigger groups.
Public methodDeleteBlobTrigger
Delete the BLOB trigger data for a trigger.
Public methodDeleteCalendar
Delete a calendar.
Public methodDeleteFiredTrigger
Delete a fired trigger.
Public methodDeleteFiredTriggers(ConnectionAndTransactionHolder, CancellationToken)
Delete all fired triggers.
Public methodDeleteFiredTriggers(ConnectionAndTransactionHolder, String, CancellationToken)
Delete all fired triggers of the given instance.
Public methodDeleteJobDetail
Delete the job detail record for the given job.
Public methodDeletePausedTriggerGroup(ConnectionAndTransactionHolder, GroupMatcherTriggerKey, CancellationToken)
Public methodDeletePausedTriggerGroup(ConnectionAndTransactionHolder, String, CancellationToken)
Deletes the paused trigger group.
Public methodDeleteSchedulerState
Delete a scheduler-instance state record.
Public methodDeleteTrigger
Delete the base trigger data for a trigger.
Public methodHasMisfiredTriggersInState(ConnectionAndTransactionHolder, String, DateTimeOffset, CancellationToken)
Get the names of all of the triggers in the given state that have misfired - according to the given timestamp.
Public methodHasMisfiredTriggersInState(ConnectionAndTransactionHolder, String, DateTimeOffset, Int32, ICollectionTriggerKey, CancellationToken)
Selects the misfired triggers in states.
Public methodInitialize
Initializes the driver delegate with configuration data.
Public methodInsertBlobTrigger
Insert the blob trigger data.
Public methodInsertCalendar
Insert a new calendar.
Public methodInsertFiredTrigger
Insert a fired trigger.
Public methodInsertJobDetail
Insert the job detail record.
Public methodInsertPausedTriggerGroup
Inserts the paused trigger group.
Public methodInsertSchedulerState
Insert a scheduler-instance state record.
Public methodInsertTrigger
Insert the base trigger data.
Public methodIsExistingTriggerGroup
Determines whether given trigger group already exists.
Public methodIsJobStateful
Check whether or not the given job is stateful.
Public methodIsTriggerGroupPaused
Determines whether the specified trigger group is paused.
Public methodJobExists
Check whether or not the given job exists.
Public methodSelectCalendar
Select a calendar.
Public methodSelectCalendars
Select all of the stored calendars.
Public methodSelectFiredTriggerInstanceNames
Select the distinct instance names of all fired-trigger records.
Public methodSelectFiredTriggerRecords
Select the states of all fired-trigger records for a given trigger, or trigger group if trigger name is .
Public methodSelectFiredTriggerRecordsByJob
Select the states of all fired-trigger records for a given job, or job group if job name is .
Public methodSelectInstancesFiredTriggerRecords
Select the states of all fired-trigger records for a given scheduler instance.
Public methodSelectJobDetail
Select the JobDetail object for a given job name / group name.
Public methodSelectJobExecutionCount
Get the number instances of the identified job currently executing.
Public methodSelectJobForTrigger(ConnectionAndTransactionHolder, TriggerKey, ITypeLoadHelper, CancellationToken)
Select the job to which the trigger is associated.
Public methodSelectJobForTrigger(ConnectionAndTransactionHolder, TriggerKey, ITypeLoadHelper, Boolean, CancellationToken)
Select the job to which the trigger is associated. Allow option to load actual job class or not. When case of remove, we do not need to load the type, which in many cases, it's no longer exists.
Public methodSelectJobGroups
Select all of the job group names that are stored.
Public methodSelectJobsInGroup
Select all of the jobs contained in a given group.
Public methodSelectMisfiredTriggers
Get the names of all of the triggers that have misfired - according to the given timestamp.
Public methodSelectMisfiredTriggersInGroupInState
Get the names of all of the triggers in the given group and state that have misfired - according to the given timestamp.
Public methodSelectNumCalendars
Select the total number of calendars stored.
Public methodSelectNumJobs
Select the total number of jobs stored.
Public methodSelectNumTriggers
Select the total number of triggers stored.
Public methodSelectNumTriggersForJob
Select the number of triggers associated with a given job.
Public methodSelectPausedTriggerGroups
Selects the paused trigger groups.
Public methodSelectSchedulerStateRecords
A List of all current SchedulerStateRecords.

If instanceId is not null, then only the record for the identified instance will be returned.

Public methodSelectTrigger
Select a trigger.
Public methodSelectTriggerForFireTime
Select the trigger that will be fired at the given fire time.
Public methodSelectTriggerGroups(ConnectionAndTransactionHolder, CancellationToken)
Select all of the trigger group names that are stored.
Public methodSelectTriggerGroups(ConnectionAndTransactionHolder, GroupMatcherTriggerKey, CancellationToken)
Public methodSelectTriggerJobDataMap
Select a trigger's JobDataMap.
Public methodSelectTriggerNamesForJob
Get the names of all of the triggers associated with the given job.
Public methodSelectTriggersForCalendar
Select the triggers for a calendar
Public methodSelectTriggersForJob
Select the triggers for a job>
Public methodSelectTriggersForRecoveringJobs
Select all of the triggers for jobs that are requesting recovery. The returned trigger objects will have unique "recoverXXX" trigger names and will be in the DefaultRecoveryGroup trigger group.
Public methodSelectTriggersInGroup
Select all of the triggers contained in a given group.
Public methodSelectTriggersInState
Select all of the triggers in a given state.
Public methodSelectTriggerState
Select a trigger's state value.
Public methodSelectTriggerStatus
Select a triggers status (state and next fire time).
Public methodSelectTriggerToAcquire
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.
Public methodTriggerExists
Check whether or not a trigger exists.
Public methodUpdateBlobTrigger
Update the blob trigger data.
Public methodUpdateCalendar
Update a calendar.
Public methodUpdateFiredTrigger
Public methodUpdateJobData
Update the job data map for the given job.
Public methodUpdateJobDetail
Update the job detail record.
Public methodUpdateSchedulerState
Update a scheduler-instance state record.
Public methodUpdateTrigger
Update the base trigger data.
Public methodUpdateTriggerGroupStateFromOtherState
Update all of the triggers of the given group to the given new state, if they are in the given old state.
Public methodUpdateTriggerGroupStateFromOtherStates
Update all triggers in the given group to the given new state, if they are in one of the given old states.
Public methodUpdateTriggerState
Update the state for a given trigger.
Public methodUpdateTriggerStateFromOtherState
Update the given trigger to the given new state, if it is in the given old state.
Public methodUpdateTriggerStateFromOtherStates
Update the given trigger to the given new state, if it is one of the given old states.
Public methodUpdateTriggerStatesForJob
Update the states of all triggers associated with the given job.
Public methodUpdateTriggerStatesForJobFromOtherState
Update the states of any triggers associated with the given job, that are the given current state.
Public methodUpdateTriggerStatesFromOtherStates
Update all triggers having one of the two given states, to the given new state.
Top
Remarks

This interface is very similar to the IJobStore interface except each method has an additional ConnectionAndTransactionHolder parameter.

Unless a database driver has some extremely-DB-specific requirements, any IDriverDelegate implementation classes should extend the StdAdoDelegate class.

See Also

Reference