Namespace Quartz.Impl.AdoJobStore
Classes
- AdoConstants
The table, column and state names of the standard Quartz database schema, for IDriverDelegate and ITriggerPersistenceDelegate implementations that read and write it.
- CalendarIntervalTriggerPersistenceDelegate
Persist a CalendarIntervalTriggerImpl by converting internal fields to and from SimplePropertiesTriggerProperties.
- ConnectionAndTransactionHolder
Unit of work for AdoJobStore operations.
- CronTriggerPersistenceDelegate
Persist a CronTriggerImpl.
- DailyTimeIntervalTriggerPersistenceDelegate
Persist a DailyTimeIntervalTrigger by converting internal fields to and from SimplePropertiesTriggerProperties.
- DbLockHandler
Base class for database based lock handlers for providing thread/resource locking in order to protect resources from being altered by multiple threads at the same time.
- DriverDelegateContext
The settings a IDriverDelegate works from, handed to Initialize(DriverDelegateContext) once by the job store before the delegate is used.
- FirebirdDelegate
Delegate implementation for Firebird.
- FiredTriggerQuery
Selects rows of the FIRED_TRIGGERS table, for both SelectFiredTriggerRecords(ConnectionAndTransactionHolder, FiredTriggerQuery, CancellationToken) and DeleteFiredTriggers(ConnectionAndTransactionHolder, FiredTriggerQuery, CancellationToken).
- FiredTriggerRecord
One row of the FIRED_TRIGGERS table: a firing a scheduler instance has reserved, is running, or has been blocked from running.
- InvalidConfigurationException
Exception class for when a driver delegate cannot be found for a given configuration, or lack thereof.
- LockException
Exception class for when there is a failure obtaining or releasing a resource lock.
- LockHandlerContext
The identity of the scheduler a lock handler locks for and the environment it locks in, handed to Initialize(LockHandlerContext) once by the job store before the handler is used.
- MySQLDelegate
This is a driver delegate for the MySQL ADO.NET driver.
- NoSuchDelegateException
Exception class for when a driver delegate cannot be found for a given configuration, or lack thereof.
- OracleDelegate
This is a driver delegate for the Oracle database.
- PostgreSQLDelegate
This is a driver delegate for the PostgreSQL ADO.NET driver.
- PostgreSqlSelectForUpdateLockHandler
PostgreSQL-specific row lock handler that uses INSERT ... ON CONFLICT DO NOTHING to handle race conditions when multiple threads try to insert the same lock row.
- PreferredNodeTransition
The compare-and-swap UpdateTriggerPreferredNodeConditional(ConnectionAndTransactionHolder, TriggerKey, PreferredNodeTransition, CancellationToken) attempts: the pin the caller observed, and the pin it wants to put in its place.
- RecurrenceTriggerPersistenceDelegate
Persist a RecurrenceTriggerImpl by converting internal fields to and from SimplePropertiesTriggerProperties.
- SQLiteDelegate
This is a driver delegate for the SQLiteDelegate ADO.NET driver.
- SchedulerStateRecord
Conveys a scheduler-instance state record.
- SelectForUpdateLockHandler
Database based lock handler that takes the lock by issuing
SELECT ... FOR UPDATEagainst the lock row.
- SimplePropertiesTriggerPersistenceDelegateBase
A base implementation of ITriggerPersistenceDelegate that persists trigger fields in the "QRTZ_SIMPROP_TRIGGERS" table. This allows extending concrete classes to simply implement a couple methods that do the work of getting/setting the trigger's fields, and creating the IScheduleBuilder for the particular type of trigger.
- SimplePropertiesTriggerProperties
One row of QRTZ_SIMPROP_TRIGGERS: the generic column set a trigger's own properties are stored in.
- SimpleTriggerPersistenceDelegate
Persists the extended properties of an ISimpleTrigger.
- SqlServerDelegate
A SQL Server specific driver delegate.
- SqlServerMemoryOptimizedUpdateRowLockHandler
Update-based lock handler for SQL Server memory-optimized tables, which need the
WITH (SNAPSHOT)hint on the locking update.
- StdAdoDelegate
This is meant to be an abstract base class for most, if not all, IDriverDelegate implementations. Subclasses should override only those methods that need special handling for the DBMS driver in question.
- StoredTriggerHeader
The parts of a stored trigger row a state transition decides on: the trigger's stored state, the job it fires, when it fires next, and which type table holds its schedule.
- StoredTriggerStates
Translates between StoredTriggerState and the strings the trigger state columns hold.
- TriggerAcquisitionCriteria
What SelectTriggersToAcquire(ConnectionAndTransactionHolder, TriggerAcquisitionCriteria, CancellationToken) should consider when picking the next triggers to fire.
- TriggerFiredUpdate
Every row change one trigger fire makes, gathered into one value so that ApplyTriggerFired(ConnectionAndTransactionHolder, TriggerFiredUpdate, CancellationToken) can issue them in as few round trips as the provider allows.
- TriggerPersistenceDelegateContext
The settings a ITriggerPersistenceDelegate works from, handed to Initialize(TriggerPersistenceDelegateContext) once by the driver delegate before the persistence delegate is used.
- TriggerPropertyBundle
What a trigger persistence delegate reads back for one trigger: the schedule builder that recreates its schedule, and optionally an applier that restores trigger state the schedule builder cannot carry, such as how many times the trigger has fired.
- UpdateRowLockHandler
Provide thread/resource locking in order to protect resources from being altered by multiple threads at the same time using a db row update.
Structs
- MisfiredTriggerBatch
One pass worth of misfired triggers, as returned by SelectMisfiredTriggersToRecover(ConnectionAndTransactionHolder, StoredTriggerState, DateTimeOffset, int, CancellationToken).
- MisfiredTriggerUpdate
A single trigger's pending misfire update, as applied in a batch by UpdateMisfiredTriggers(ConnectionAndTransactionHolder, IReadOnlyList<MisfiredTriggerUpdate>, CancellationToken).
- SqlRowLimit
How a dialect says "at most this many rows", as a slot the statement has for it rather than as an edit to finished SQL.
- SqlStatement
A statement and the parameters bound to it, kept as data rather than issued, so that the same definition can go out either as a standalone command or as one command of a DbBatch.
- SqlStatementParameter
One parameter of a SqlStatement.
- TriggerAcquireResult
One candidate returned by SelectTriggersToAcquire(ConnectionAndTransactionHolder, TriggerAcquisitionCriteria, CancellationToken).
- TriggerAcquisitionSqlShape
Everything about one acquisition attempt that changes the text of the statement, and nothing that does not.
- TriggerExecutionState
A trigger's stored state together with whether it currently has an execution in flight.
- TriggerStateTransition
One conditional trigger-state change: rows currently in From become To, and rows in any other state are left alone.
Interfaces
- IDbAccessor
Service interface or modifying IDbCommand parameters and resultset values.
- IDriverDelegate
This is the base interface for all driver delegate classes.
- ILockHandler
An interface for providing thread/resource locking in order to protect resources from being altered by multiple threads at the same time.
- ITriggerPersistenceDelegate
An interface which provides an implementation for storing a particular type of ITrigger's extended properties.
Enums
- SchedulerLock
The locks a job store takes to serialize access to the scheduling data it shares with the other nodes of a cluster.