Contains base functionality for ADO.NET-based JobStore implementations.
| Name | Description |
---|
| AcquireTriggersWithinLock |
Whether or not the query and update to acquire a Trigger for firing
should be performed after obtaining an explicit DB lock (to avoid
possible race conditions on the trigger's db row). This is
is considered unnecessary for most databases (due to the nature of
the SQL update that is performed), and therefore a superfluous performance hit.
|
| CanUseProperties |
Get whether String-only properties will be handled in JobDataMaps.
|
| ClusterCheckinInterval |
Get or set the frequency at which this instance "checks-in"
with the other instances of the cluster. -- Affects the rate of
detecting failed instances.
|
| Clustered |
Get or set whether this instance is part of a cluster.
|
| ConnectionManager |
Get or set the database connection manager.
|
| DataSource |
Get or set the datasource name.
|
| DbMetadata | |
| DbRetryInterval |
Gets or sets the database retry interval.
|
| Delegate |
Get the driver delegate for DB operations.
|
| DontSetAutoCommitFalse |
Don't call set autocommit(false) on connections obtained from the
DataSource. This can be helpful in a few situations, such as if you
have a driver that complains if it is called when it is already off.
|
| DoubleCheckLockMisfireHandler |
Get whether to check to see if there are Triggers that have misfired
before actually acquiring the lock to recover them. This should be
set to false if the majority of the time, there are misfired
Triggers.
|
| DriverDelegateInitString |
The driver delegate's initialization string.
|
| DriverDelegateType |
Get or set the ADO.NET driver delegate class name.
|
| EstimatedTimeToReleaseAndAcquireTrigger | |
| InstanceId |
Get or set the instance Id of the Scheduler (must be unique within a cluster).
|
| InstanceName |
Get or set the instance Id of the Scheduler (must be unique within this server instance).
|
| LastCheckin | |
| LockHandler | |
| LockOnInsert |
Whether or not to obtain locks when inserting new jobs/triggers.
|
| MakeThreadsDaemons |
Get whether the threads spawned by this JobStore should be
marked as daemon. Possible threads include the MisfireHandler
and the ClusterManager.
|
| MaxMisfiresToHandleAtATime |
Get or set the maximum number of misfired triggers that the misfire handling
thread will try to recover at one time (within one transaction). The
default is 20.
|
| MisfireHandlerFrequency |
How often should the misfire handler check for misfires. Defaults to
MisfireThreshold.
|
| MisfireThreshold |
The time span by which a trigger must have missed its
next-fire-time, in order for it to be considered "misfired" and thus
have its misfire instruction applied.
|
| MisfireTime | |
| ObjectSerializer | |
| RetryableActionErrorLogThreshold |
Gets or sets the number of retries before an error is logged for recovery operations.
|
| SelectWithLockSQL |
set the SQL statement to use to select and lock a row in the "locks"
table.
|
| SupportsPersistence |
Indicates whether this job store supports persistence.
|
| TablePrefix |
Get or sets the prefix that should be pre-pended to all table names.
|
| ThreadPoolSize | |
| TxIsolationLevelSerializable |
Set the transaction isolation level of DB connections to sequential.
|
| TypeLoadHelper | |
| UseDBLocks |
Get or set whether this instance should use database-based thread
synchronization.
|
| UseProperties |
Set whether string-only properties will be handled in JobDataMaps.
|
| Name | Description |
---|
| AcquireNextTrigger | |
| AcquireNextTriggers |
Get a handle to the next N triggers to be fired, and mark them as 'reserved'
by the calling scheduler.
|
| CalcFailedIfAfter | |
| CalendarExists(String, CancellationToken) |
Determine whether a ICalendar with the given identifier already
exists within the scheduler.
|
| CalendarExists(ConnectionAndTransactionHolder, String, CancellationToken) | |
| CheckBlockedState |
Determines if a Trigger for the given job should be blocked.
State can only transition to StatePausedBlocked/StateBlocked from
StatePaused/StateWaiting respectively.
|
| CheckExists(JobKey, CancellationToken) |
Determine whether a IJob with the given identifier already
exists within the scheduler.
|
| CheckExists(TriggerKey, CancellationToken) |
Determine whether a ITrigger with the given identifier already
exists within the scheduler.
|
| CheckExists(ConnectionAndTransactionHolder, JobKey, CancellationToken) | |
| CheckExists(ConnectionAndTransactionHolder, TriggerKey, CancellationToken) | |
| CheckExists(ConnectionAndTransactionHolder, String, CancellationToken) | |
| CleanupConnection |
Cleanup the given database connection. This means restoring
any modified auto commit or transaction isolation connection
attributes, and then closing the underlying connection.
|
| ClearAllSchedulingData(CancellationToken) | |
| ClearAllSchedulingData(ConnectionAndTransactionHolder, CancellationToken) | |
| CloseConnection |
Closes the supplied connection.
|
| ClusterCheckIn | |
| ClusterRecover | |
| CommitConnection |
Commit the supplied connection.
|
| DoCheckin | |
| DoRecoverMisfires | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
| ExecuteInLock(String, FuncConnectionAndTransactionHolder, Task, CancellationToken) | |
| ExecuteInLockT(String, FuncConnectionAndTransactionHolder, TaskT, CancellationToken) |
Execute the given callback having acquired the given lock.
Depending on the JobStore, the surrounding transaction may be
assumed to be already present (managed).
|
| ExecuteInNonManagedTXLock(String, FuncConnectionAndTransactionHolder, Task, CancellationToken) | |
| ExecuteInNonManagedTXLockT(String, FuncConnectionAndTransactionHolder, TaskT, CancellationToken) | |
| ExecuteInNonManagedTXLockT(String, FuncConnectionAndTransactionHolder, TaskT, FuncConnectionAndTransactionHolder, T, TaskBoolean, CancellationToken) |
Execute the given callback having optionally acquired the given lock.
This uses the non-managed transaction connection.
|
| ExecuteWithoutLockT |
Execute the given callback in a transaction. Depending on the JobStore,
the surrounding transaction may be assumed to be already present
(managed).
|
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
| FindFailedInstances |
Get a list of all scheduler instances in the cluster that may have failed.
This includes this scheduler if it is checking in for the first time.
|
| GetCalendarNames(CancellationToken) | |
| GetCalendarNames(ConnectionAndTransactionHolder, CancellationToken) | |
| GetConnection |
Gets the connection and starts a new transaction.
|
| GetFiredTriggerRecordId | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) |
| GetJobGroupNames(CancellationToken) |
Get the names of all of the IJob
groups.
|
| GetJobGroupNames(ConnectionAndTransactionHolder, CancellationToken) | |
| GetJobKeys |
Get the names of all of the IJob s that
have the given group name.
|
| GetJobNames | |
| GetNonManagedTXConnection | |
| GetNumberOfCalendars(CancellationToken) | |
| GetNumberOfCalendars(ConnectionAndTransactionHolder, CancellationToken) | |
| GetNumberOfJobs(CancellationToken) | |
| GetNumberOfJobs(ConnectionAndTransactionHolder, CancellationToken) | |
| GetNumberOfTriggers(CancellationToken) | |
| GetNumberOfTriggers(ConnectionAndTransactionHolder, CancellationToken) | |
| GetPausedTriggerGroups(CancellationToken) | |
| GetPausedTriggerGroups(ConnectionAndTransactionHolder, CancellationToken) |
Pause all of the ITriggers in the
given group.
|
| GetTriggerGroupNames(CancellationToken) |
Get the names of all of the ITrigger
groups.
|
| GetTriggerGroupNames(ConnectionAndTransactionHolder, CancellationToken) | |
| GetTriggerKeys |
Get the names of all of the ITrigger s
that have the given group name.
|
| GetTriggerNames | |
| GetTriggersForJob(JobKey, CancellationToken) |
Get all of the Triggers that are associated to the given Job.
|
| GetTriggersForJob(ConnectionAndTransactionHolder, JobKey, CancellationToken) | |
| GetTriggerState(TriggerKey, CancellationToken) |
Get the current state of the identified ITrigger.
|
| GetTriggerState(ConnectionAndTransactionHolder, TriggerKey, CancellationToken) |
Gets the state of the trigger.
|
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| Initialize |
Called by the QuartzScheduler before the IJobStore is
used, in order to give it a chance to Initialize.
|
| IsJobGroupPaused |
Returns true if the given JobGroup is paused.
|
| IsTransient | |
| IsTriggerGroupPaused |
Returns true if the given TriggerGroup is paused.
|
| JobExists |
Check existence of a given job.
|
| LogWarnIfNonZero | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
| PauseAll(CancellationToken) | |
| PauseAll(ConnectionAndTransactionHolder, CancellationToken) | |
| PauseJob |
Pause the IJob with the given name - by
pausing all of its current ITriggers.
|
| PauseJobs |
Pause all of the IJobs in the given
group - by pausing all of their ITriggers.
|
| PauseTrigger(TriggerKey, CancellationToken) | |
| PauseTrigger(ConnectionAndTransactionHolder, TriggerKey, CancellationToken) | |
| PauseTriggerGroup |
Pause all of the ITriggers in the given group.
|
| PauseTriggers |
Pause all of the ITriggers in the given group.
|
| RecoverJobs(CancellationToken) |
Will recover any failed or misfired jobs and clean up the data store as
appropriate.
|
| RecoverJobs(ConnectionAndTransactionHolder, CancellationToken) |
Will recover any failed or misfired jobs and clean up the data store as
appropriate.
|
| RecoverMisfiredJobs | |
| ReleaseAcquiredTrigger(IOperableTrigger, CancellationToken) |
Inform the IJobStore that the scheduler no longer plans to
fire the given ITrigger, that it had previously acquired
(reserved).
|
| ReleaseAcquiredTrigger(ConnectionAndTransactionHolder, IOperableTrigger, CancellationToken) | |
| ReleaseLock | |
| RemoveCalendar(String, CancellationToken) |
Remove (delete) the ICalendar with the given name.
|
| RemoveCalendar(ConnectionAndTransactionHolder, String, CancellationToken) | |
| RemoveJob(JobKey, CancellationToken) |
Remove (delete) the IJob with the given
name, and any ITrigger s that reference
it.
|
| RemoveJob(ConnectionAndTransactionHolder, JobKey, Boolean, CancellationToken) | |
| RemoveJobs | |
| RemoveTrigger(TriggerKey, CancellationToken) |
Remove (delete) the ITrigger with the
given name.
|
| RemoveTrigger(ConnectionAndTransactionHolder, TriggerKey, CancellationToken) | |
| RemoveTrigger(ConnectionAndTransactionHolder, TriggerKey, IJobDetail, CancellationToken) | |
| RemoveTriggers | |
| ReplaceTrigger(TriggerKey, IOperableTrigger, CancellationToken) | |
| ReplaceTrigger(ConnectionAndTransactionHolder, TriggerKey, IOperableTrigger, CancellationToken) | |
| ResumeAll(CancellationToken) | |
| ResumeAll(ConnectionAndTransactionHolder, CancellationToken) | |
| ResumeJob |
Resume (un-pause) the IJob with the
given name.
|
| ResumeJobs |
Resume (un-pause) all of the IJobs in
the given group.
|
| ResumeTrigger(TriggerKey, CancellationToken) | |
| ResumeTrigger(ConnectionAndTransactionHolder, TriggerKey, CancellationToken) |
Resume (un-pause) the ITrigger with the
given name.
|
| ResumeTriggers(GroupMatcherTriggerKey, CancellationToken) | |
| ResumeTriggers(ConnectionAndTransactionHolder, GroupMatcherTriggerKey, CancellationToken) |
Resume (un-pause) all of the ITriggers
in the given group.
If any ITrigger missed one or more fire-times, then the
ITrigger's misfire instruction will be applied.
|
| RetrieveCalendar(String, CancellationToken) | |
| RetrieveCalendar(ConnectionAndTransactionHolder, String, CancellationToken) | |
| RetrieveJob(JobKey, CancellationToken) | |
| RetrieveJob(ConnectionAndTransactionHolder, JobKey, CancellationToken) | |
| RetrieveTrigger(TriggerKey, CancellationToken) | |
| RetrieveTrigger(ConnectionAndTransactionHolder, TriggerKey, CancellationToken) | |
| RetryExecuteInNonManagedTXLock(String, FuncConnectionAndTransactionHolder, Task, CancellationToken) | |
| RetryExecuteInNonManagedTXLockT(String, FuncConnectionAndTransactionHolder, TaskT, CancellationToken) | |
| RollbackConnection |
Rollback the supplied connection.
|
| SchedulerPaused |
Called by the QuartzScheduler to inform the JobStore that
the scheduler has been paused.
|
| SchedulerResumed |
Called by the QuartzScheduler to inform the JobStore that
the scheduler has resumed after being paused.
|
| SchedulerStarted | |
| Shutdown |
Called by the QuartzScheduler to inform the IJobStore that
it should free up all of it's resources because the scheduler is
shutting down.
|
| SignalSchedulingChangeImmediately | |
| StoreCalendar(String, ICalendar, Boolean, Boolean, CancellationToken) | |
| StoreCalendar(ConnectionAndTransactionHolder, String, ICalendar, Boolean, Boolean, CancellationToken) | |
| StoreJob(IJobDetail, Boolean, CancellationToken) | |
| StoreJob(ConnectionAndTransactionHolder, IJobDetail, Boolean, CancellationToken) | |
| StoreJobAndTrigger | |
| StoreJobsAndTriggers | |
| StoreTrigger(IOperableTrigger, Boolean, CancellationToken) | |
| StoreTrigger(ConnectionAndTransactionHolder, IOperableTrigger, IJobDetail, Boolean, String, Boolean, Boolean, CancellationToken) |
Insert or update a trigger.
|
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| TriggeredJobComplete(IOperableTrigger, IJobDetail, SchedulerInstruction, CancellationToken) | |
| TriggeredJobComplete(ConnectionAndTransactionHolder, IOperableTrigger, IJobDetail, SchedulerInstruction, CancellationToken) | |
| TriggerExists |
Check existence of a given trigger.
|
| TriggerFired | |
| TriggersFired | |
| UpdateMisfiredTrigger | |