SqlServerDelegate Class

Quartz.NET 3.0 API Documentation
A SQL Server specific driver delegate.
Inheritance Hierarchy

SystemObject
  Quartz.Impl.AdoJobStoreAdoConstants
    Quartz.Impl.AdoJobStoreStdAdoConstants
      Quartz.Impl.AdoJobStoreStdAdoDelegate
        Quartz.Impl.AdoJobStoreSqlServerDelegate

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

C#
public class SqlServerDelegate : StdAdoDelegate

The SqlServerDelegate type exposes the following members.

Constructors

  NameDescription
Public methodSqlServerDelegate
Initializes a new instance of the SqlServerDelegate class
Top
Properties

  NameDescription
Protected propertyCanUseProperties (Inherited from StdAdoDelegate.)
Protected propertyDbProvider (Inherited from StdAdoDelegate.)
Protected propertySchedulerNameLiteral (Inherited from StdAdoDelegate.)
Top
Methods

  NameDescription
Public methodAddCommandParameter (Overrides StdAdoDelegateAddCommandParameter(DbCommand, String, Object, Enum, NullableInt32).)
Protected methodAddDefaultTriggerPersistenceDelegates (Inherited from StdAdoDelegate.)
Public methodAddTriggerPersistenceDelegate (Inherited from StdAdoDelegate.)
Public methodCalendarExists
Check whether or not a calendar exists.
(Inherited from StdAdoDelegate.)
Public methodCalendarIsReferenced
Check whether or not a calendar is referenced by any triggers.
(Inherited from StdAdoDelegate.)
Public methodClearData
Clear (delete!) all scheduling data - all IJobs, ITriggers ICalendars.
(Inherited from StdAdoDelegate.)
Protected methodConvertFromProperty
Convert the JobDataMap into a list of properties.
(Inherited from StdAdoDelegate.)
Protected methodConvertToProperty
Convert the JobDataMap into a list of properties.
(Inherited from StdAdoDelegate.)
Public methodCountMisfiredTriggersInState
Get the number of triggers in the given state that have misfired - according to the given timestamp.
(Inherited from StdAdoDelegate.)
Public methodDeleteAllPausedTriggerGroups
Deletes all paused trigger groups.
(Inherited from StdAdoDelegate.)
Public methodDeleteBlobTrigger
Delete the cron trigger data for a trigger.
(Inherited from StdAdoDelegate.)
Public methodDeleteCalendar
Delete a calendar.
(Inherited from StdAdoDelegate.)
Public methodDeleteFiredTrigger
Delete a fired trigger.
(Inherited from StdAdoDelegate.)
Public methodDeleteFiredTriggers(ConnectionAndTransactionHolder, CancellationToken)
Delete all fired triggers.
(Inherited from StdAdoDelegate.)
Public methodDeleteFiredTriggers(ConnectionAndTransactionHolder, String, CancellationToken)
Delete all fired triggers of the given instance.
(Inherited from StdAdoDelegate.)
Public methodDeleteJobDetail
Delete the job detail record for the given job.
(Inherited from StdAdoDelegate.)
Public methodDeletePausedTriggerGroup(ConnectionAndTransactionHolder, GroupMatcherTriggerKey, CancellationToken) (Inherited from StdAdoDelegate.)
Public methodDeletePausedTriggerGroup(ConnectionAndTransactionHolder, String, CancellationToken)
Deletes the paused trigger group.
(Inherited from StdAdoDelegate.)
Public methodDeleteSchedulerState
Deletes the state of the scheduler.
(Inherited from StdAdoDelegate.)
Public methodDeleteTrigger
Delete the base trigger data for a trigger.
(Inherited from StdAdoDelegate.)
Protected methodDeleteTriggerExtension (Inherited from StdAdoDelegate.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindTriggerPersistenceDelegate(String) (Inherited from StdAdoDelegate.)
Public methodFindTriggerPersistenceDelegate(IOperableTrigger) (Inherited from StdAdoDelegate.)
Public methodGetBooleanFromDbValue
Gets the boolean value from db presentation. Subclasses can overwrite this behaviour.
(Inherited from StdAdoDelegate.)
Public methodGetDateTimeFromDbValue
Gets the date/time value from db presentation. Subclasses can overwrite this behaviour.
(Inherited from StdAdoDelegate.)
Public methodGetDbBooleanValue
Gets the db presentation for boolean value. Subclasses can overwrite this behaviour.
(Inherited from StdAdoDelegate.)
Public methodGetDbDateTimeValue
Gets the db presentation for date/time value. Subclasses can overwrite this behaviour.
(Inherited from StdAdoDelegate.)
Public methodGetDbTimeSpanValue
Gets the db presentation for time span value. Subclasses can overwrite this behaviour.
(Inherited from StdAdoDelegate.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetJobDataFromBlobT
This method should be overridden by any delegate subclasses that need special handling for BLOBs for job details.
(Inherited from StdAdoDelegate.)
Protected methodGetKeyOfNonSerializableValue (Inherited from StdAdoDelegate.)
Protected methodGetObjectFromBlobT
This method should be overridden by any delegate subclasses that need special handling for BLOBs. The default implementation uses standard ADO.NET operations.
(Inherited from StdAdoDelegate.)
Protected methodGetSelectNextMisfiredTriggersInStateToAcquireSql (Overrides StdAdoDelegateGetSelectNextMisfiredTriggersInStateToAcquireSql(Int32).)
Protected methodGetSelectNextTriggerToAcquireSql
Gets the select next trigger to acquire SQL clause. SQL Server specific version with TOP functionality
(Overrides StdAdoDelegateGetSelectNextTriggerToAcquireSql(Int32).)
Protected methodGetStorableJobTypeName (Inherited from StdAdoDelegate.)
Public methodGetTimeSpanFromDbValue
Gets the time span value from db presentation. Subclasses can overwrite this behaviour.
(Inherited from StdAdoDelegate.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
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.
(Inherited from StdAdoDelegate.)
Public methodHasMisfiredTriggersInState(ConnectionAndTransactionHolder, String, DateTimeOffset, Int32, ICollectionTriggerKey, CancellationToken)
Get the names of all of the triggers in the given state that have misfired - according to the given timestamp. No more than count will be returned.
(Inherited from StdAdoDelegate.)
Public methodInitialize
Initializes the driver delegate.
(Inherited from StdAdoDelegate.)
Public methodInsertBlobTrigger
Insert the blob trigger data.
(Inherited from StdAdoDelegate.)
Public methodInsertCalendar
Insert a new calendar.
(Inherited from StdAdoDelegate.)
Public methodInsertFiredTrigger
Insert a fired trigger.
(Inherited from StdAdoDelegate.)
Public methodInsertJobDetail
Insert the job detail record.
(Inherited from StdAdoDelegate.)
Public methodInsertPausedTriggerGroup
Inserts the paused trigger group.
(Inherited from StdAdoDelegate.)
Public methodInsertSchedulerState
Inserts the state of the scheduler.
(Inherited from StdAdoDelegate.)
Public methodInsertTrigger
Insert the base trigger data.
(Inherited from StdAdoDelegate.)
Public methodIsExistingTriggerGroup
Determines whether given trigger group already exists.
(Inherited from StdAdoDelegate.)
Public methodIsJobStateful
Check whether or not the given job is stateful.
(Inherited from StdAdoDelegate.)
Protected methodIsMatcherEqualsT (Inherited from StdAdoDelegate.)
Public methodIsTriggerGroupPaused
Determines whether the specified trigger group is paused.
(Inherited from StdAdoDelegate.)
Public methodJobExists
Check whether or not the given job exists.
(Inherited from StdAdoDelegate.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPrepareCommand (Inherited from StdAdoDelegate.)
Protected methodReadBytesFromBlob (Inherited from StdAdoDelegate.)
Protected methodReplaceTablePrefix
Replace the table prefix in a query by replacing any occurrences of "{0}" with the table prefix.
(Inherited from StdAdoDelegate.)
Public methodSelectCalendar
Select a calendar.
(Inherited from StdAdoDelegate.)
Public methodSelectCalendars
Select all of the stored calendars.
(Inherited from StdAdoDelegate.)
Public methodSelectFiredTriggerInstanceNames
Select the distinct instance names of all fired-trigger records.
(Inherited from StdAdoDelegate.)
Public methodSelectFiredTriggerRecords
Select the states of all fired-trigger records for a given trigger, or trigger group if trigger name is .
(Inherited from StdAdoDelegate.)
Public methodSelectFiredTriggerRecordsByJob
Select the states of all fired-trigger records for a given job, or job group if job name is .
(Inherited from StdAdoDelegate.)
Public methodSelectInstancesFiredTriggerRecords
Select the states of all fired-trigger records for a given scheduler instance.
(Inherited from StdAdoDelegate.)
Public methodSelectJobDetail
Select the JobDetail object for a given job name / group name.
(Inherited from StdAdoDelegate.)
Public methodSelectJobExecutionCount
Selects the job execution count.
(Inherited from StdAdoDelegate.)
Public methodSelectJobForTrigger(ConnectionAndTransactionHolder, TriggerKey, ITypeLoadHelper, CancellationToken) (Inherited from StdAdoDelegate.)
Public methodSelectJobForTrigger(ConnectionAndTransactionHolder, TriggerKey, ITypeLoadHelper, Boolean, CancellationToken) (Inherited from StdAdoDelegate.)
Public methodSelectJobGroups
Select all of the job group names that are stored.
(Inherited from StdAdoDelegate.)
Public methodSelectJobsInGroup
Select all of the jobs contained in a given group.
(Inherited from StdAdoDelegate.)
Public methodSelectMisfiredTriggers
Get the names of all of the triggers that have misfired.
(Inherited from StdAdoDelegate.)
Public methodSelectMisfiredTriggersInGroupInState
Get the names of all of the triggers in the given group and state that have misfired.
(Inherited from StdAdoDelegate.)
Public methodSelectNumCalendars
Select the total number of calendars stored.
(Inherited from StdAdoDelegate.)
Public methodSelectNumJobs
Select the total number of jobs stored.
(Inherited from StdAdoDelegate.)
Public methodSelectNumTriggers
Select the total number of triggers stored.
(Inherited from StdAdoDelegate.)
Public methodSelectNumTriggersForJob
Select the number of triggers associated with a given job.
(Inherited from StdAdoDelegate.)
Public methodSelectPausedTriggerGroups
Selects the paused trigger groups.
(Inherited from StdAdoDelegate.)
Public methodSelectSchedulerStateRecords
A List of all current SchedulerStateRecords.

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

(Inherited from StdAdoDelegate.)
Public methodSelectTrigger
Select a trigger.
(Inherited from StdAdoDelegate.)
Public methodSelectTriggerForFireTime
Select the trigger that will be fired at the given fire time.
(Inherited from StdAdoDelegate.)
Public methodSelectTriggerGroups(ConnectionAndTransactionHolder, CancellationToken)
Select all of the trigger group names that are stored.
(Inherited from StdAdoDelegate.)
Public methodSelectTriggerGroups(ConnectionAndTransactionHolder, GroupMatcherTriggerKey, CancellationToken) (Inherited from StdAdoDelegate.)
Public methodSelectTriggerJobDataMap
Select a trigger's JobDataMap.
(Inherited from StdAdoDelegate.)
Public methodSelectTriggerNamesForJob
Get the names of all of the triggers associated with the given job.
(Inherited from StdAdoDelegate.)
Public methodSelectTriggersForCalendar
Select the triggers for a calendar
(Inherited from StdAdoDelegate.)
Public methodSelectTriggersForJob
Select the triggers for a job
(Inherited from StdAdoDelegate.)
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.
(Inherited from StdAdoDelegate.)
Public methodSelectTriggersInGroup
Select all of the triggers contained in a given group.
(Inherited from StdAdoDelegate.)
Public methodSelectTriggersInState
Select all of the triggers in a given state.
(Inherited from StdAdoDelegate.)
Public methodSelectTriggerState
Select a trigger's state value.
(Inherited from StdAdoDelegate.)
Public methodSelectTriggerStatus
Select a trigger status (state and next fire time).
(Inherited from StdAdoDelegate.)
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.
(Inherited from StdAdoDelegate.)
Public methodSerializeJobData
Remove the transient data from and then create a serialized MemoryStream version of a JobDataMap and returns the underlying bytes.
(Inherited from StdAdoDelegate.)
Protected methodSerializeObject
Create a serialized byte[] version of an Object.
(Inherited from StdAdoDelegate.)
Protected methodToSqlEqualsClauseT (Inherited from StdAdoDelegate.)
Protected methodToSqlLikeClauseT (Inherited from StdAdoDelegate.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTriggerExists
Check whether or not a trigger exists.
(Inherited from StdAdoDelegate.)
Public methodUpdateBlobTrigger
Update the blob trigger data.
(Inherited from StdAdoDelegate.)
Public methodUpdateCalendar
Update a calendar.
(Inherited from StdAdoDelegate.)
Public methodUpdateFiredTrigger

Update a fired trigger.

(Inherited from StdAdoDelegate.)
Public methodUpdateJobData
Update the job data map for the given job.
(Inherited from StdAdoDelegate.)
Public methodUpdateJobDetail
Update the job detail record.
(Inherited from StdAdoDelegate.)
Public methodUpdateSchedulerState
Updates the state of the scheduler.
(Inherited from StdAdoDelegate.)
Public methodUpdateTrigger
Update the base trigger data.
(Inherited from StdAdoDelegate.)
Public methodUpdateTriggerGroupStateFromOtherState
Update all of the triggers of the given group to the given new state, if they are in the given old state.
(Inherited from StdAdoDelegate.)
Public methodUpdateTriggerGroupStateFromOtherStates
Update all triggers in the given group to the given new state, if they are in one of the given old states.
(Inherited from StdAdoDelegate.)
Public methodUpdateTriggerState
Update the state for a given trigger.
(Inherited from StdAdoDelegate.)
Public methodUpdateTriggerStateFromOtherState
Update the given trigger to the given new state, if it is in the given old state.
(Inherited from StdAdoDelegate.)
Public methodUpdateTriggerStateFromOtherStates
Update the given trigger to the given new state, if it is one of the given old states.
(Inherited from StdAdoDelegate.)
Public methodUpdateTriggerStatesForJob
Update the states of all triggers associated with the given job.
(Inherited from StdAdoDelegate.)
Public methodUpdateTriggerStatesForJobFromOtherState
Updates the state of the trigger states for job from other.
(Inherited from StdAdoDelegate.)
Public methodUpdateTriggerStatesFromOtherStates
Insert the job detail record.
(Inherited from StdAdoDelegate.)
Top
See Also

Reference