The JobStoreCMT type exposes the following members.
Constructors
Name | Description | |
---|---|---|
JobStoreCMT | Initializes a new instance of the JobStoreCMT class |
Methods
Name | Description | |
---|---|---|
AcquireNextTrigger | (Inherited from JobStoreSupport.) | |
AcquireNextTriggers |
Get a handle to the next N triggers to be fired, and mark them as 'reserved'
by the calling scheduler.
(Inherited from JobStoreSupport.) | |
CalcFailedIfAfter | (Inherited from JobStoreSupport.) | |
CalendarExists | (Inherited from JobStoreSupport.) | |
CheckBlockedState |
Determines if a Trigger for the given job should be blocked.
State can only transition to StatePausedBlocked/StateBlocked from
StatePaused/StateWaiting respectively.
(Inherited from JobStoreSupport.) | |
CheckExists(JobKey) |
Determine whether a IJob with the given identifier already
exists within the scheduler.
(Inherited from JobStoreSupport.) | |
CheckExists(TriggerKey) |
Determine whether a ITrigger with the given identifier already
exists within the scheduler.
(Inherited from JobStoreSupport.) | |
CheckExists(ConnectionAndTransactionHolder, JobKey) | (Inherited from JobStoreSupport.) | |
CheckExists(ConnectionAndTransactionHolder, TriggerKey) | (Inherited from JobStoreSupport.) | |
CleanupConnection |
Cleanup the given database connection. This means restoring
any modified auto commit or transaction isolation connection
attributes, and then closing the underlying connection.
(Inherited from JobStoreSupport.) | |
ClearAllSchedulingData | (Inherited from JobStoreSupport.) | |
ClearAllSchedulingData(ConnectionAndTransactionHolder) | (Inherited from JobStoreSupport.) | |
ClearAndGetSignalSchedulingChangeOnTxCompletion | (Inherited from JobStoreSupport.) | |
CloseConnection |
Closes the supplied connection.
(Inherited from JobStoreSupport.) | |
ClusterCheckIn | (Inherited from JobStoreSupport.) | |
ClusterRecover | (Inherited from JobStoreSupport.) | |
CommitConnection |
Commit the supplied connection.
(Inherited from JobStoreSupport.) | |
DoCheckin | (Inherited from JobStoreSupport.) | |
DoRecoverMisfires | (Inherited from JobStoreSupport.) | |
Equals | (Inherited from Object.) | |
ExecuteInLock(String, Action ConnectionAndTransactionHolder ) | (Inherited from JobStoreSupport.) | |
ExecuteInLock T (String, Func ConnectionAndTransactionHolder, T ) |
Execute the given callback having optionally acquired the given lock.
Because CMT assumes that the connection is already part of a managed
transaction, it does not attempt to commit or rollback the
enclosing transaction.
(Overrides JobStoreSupport ExecuteInLock T (String, Func ConnectionAndTransactionHolder, T ).) | |
ExecuteInLock T (String, Func ConnectionAndTransactionHolder, T ) |
Execute the given callback having acquired the given lock.
Depending on the JobStore, the surrounding transaction may be
assumed to be already present (managed).
(Inherited from JobStoreSupport.) | |
ExecuteInNonManagedTXLock(String, Action ConnectionAndTransactionHolder ) | (Inherited from JobStoreSupport.) | |
ExecuteInNonManagedTXLock T (String, Func ConnectionAndTransactionHolder, T ) | (Inherited from JobStoreSupport.) | |
ExecuteInNonManagedTXLock T (String, Func ConnectionAndTransactionHolder, T , Func ConnectionAndTransactionHolder, T, Boolean ) |
Execute the given callback having optionally acquired the given lock.
This uses the non-managed transaction connection.
(Inherited from JobStoreSupport.) | |
ExecuteWithoutLock T |
Execute the given callback in a transaction. Depending on the JobStore,
the surrounding transaction may be assumed to be already present
(managed).
(Inherited from JobStoreSupport.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object 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.
(Inherited from JobStoreSupport.) | |
GetCalendarNames | (Inherited from JobStoreSupport.) | |
GetCalendarNames(ConnectionAndTransactionHolder) | (Inherited from JobStoreSupport.) | |
GetConnection |
Gets the connection and starts a new transaction.
(Inherited from JobStoreSupport.) | |
GetFiredTriggerRecordId | (Inherited from JobStoreSupport.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetJobGroupNames |
Get the names of all of the IJob
groups.
(Inherited from JobStoreSupport.) | |
GetJobGroupNames(ConnectionAndTransactionHolder) | (Inherited from JobStoreSupport.) | |
GetJobKeys |
Get the names of all of the IJob s that
have the given group name.
(Inherited from JobStoreSupport.) | |
GetJobNames | (Inherited from JobStoreSupport.) | |
GetNonManagedTXConnection |
Gets the non managed TX connection.
(Overrides JobStoreSupport GetNonManagedTXConnection .) | |
GetNumberOfCalendars | (Inherited from JobStoreSupport.) | |
GetNumberOfCalendars(ConnectionAndTransactionHolder) | (Inherited from JobStoreSupport.) | |
GetNumberOfJobs | (Inherited from JobStoreSupport.) | |
GetNumberOfJobs(ConnectionAndTransactionHolder) | (Inherited from JobStoreSupport.) | |
GetNumberOfTriggers | (Inherited from JobStoreSupport.) | |
GetNumberOfTriggers(ConnectionAndTransactionHolder) | (Inherited from JobStoreSupport.) | |
GetPausedTriggerGroups | (Inherited from JobStoreSupport.) | |
GetPausedTriggerGroups(ConnectionAndTransactionHolder) |
Pause all of the ITriggers in the
given group.
(Inherited from JobStoreSupport.) | |
GetTriggerGroupNames |
Get the names of all of the ITrigger
groups.
(Inherited from JobStoreSupport.) | |
GetTriggerGroupNames(ConnectionAndTransactionHolder) | (Inherited from JobStoreSupport.) | |
GetTriggerKeys |
Get the names of all of the ITrigger s
that have the given group name.
(Inherited from JobStoreSupport.) | |
GetTriggerNames | (Inherited from JobStoreSupport.) | |
GetTriggersForJob(JobKey) |
Get all of the Triggers that are associated to the given Job.
(Inherited from JobStoreSupport.) | |
GetTriggersForJob(ConnectionAndTransactionHolder, JobKey) | (Inherited from JobStoreSupport.) | |
GetTriggerState(TriggerKey) |
Get the current state of the identified ITrigger.
(Inherited from JobStoreSupport.) | |
GetTriggerState(ConnectionAndTransactionHolder, TriggerKey) |
Gets the state of the trigger.
(Inherited from JobStoreSupport.) | |
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 the it a chance to Initialize.
(Overrides JobStoreSupport Initialize(ITypeLoadHelper, ISchedulerSignaler).) | |
IsJobGroupPaused |
returns true if the given JobGroup
is paused
(Inherited from JobStoreSupport.) | |
IsTriggerGroupPaused |
returns true if the given TriggerGroup
is paused
(Inherited from JobStoreSupport.) | |
JobExists |
Check existence of a given job.
(Inherited from JobStoreSupport.) | |
LogWarnIfNonZero | (Inherited from JobStoreSupport.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PauseAll | (Inherited from JobStoreSupport.) | |
PauseAll(ConnectionAndTransactionHolder) |
Pause all triggers - equivalent of calling PauseTriggers(GroupMatcher TriggerKey )
on every group.
(Inherited from JobStoreSupport.)When ResumeAll is called (to un-pause), trigger misfire instructions WILL be applied. | |
PauseJob | (Inherited from JobStoreSupport.) | |
PauseJobs | (Inherited from JobStoreSupport.) | |
PauseTrigger(TriggerKey) |
Pause the ITrigger with the given name.
(Inherited from JobStoreSupport.) | |
PauseTrigger(ConnectionAndTransactionHolder, TriggerKey) |
Pause the ITrigger with the given name.
(Inherited from JobStoreSupport.) | |
PauseTriggerGroup |
Pause all of the ITriggers in the given group.
(Inherited from JobStoreSupport.) | |
PauseTriggers |
Pause all of the ITriggers in the given group.
(Inherited from JobStoreSupport.) | |
RecoverJobs |
Will recover any failed or misfired jobs and clean up the data store as
appropriate.
(Inherited from JobStoreSupport.) | |
RecoverJobs(ConnectionAndTransactionHolder) |
Will recover any failed or misfired jobs and clean up the data store as
appropriate.
(Inherited from JobStoreSupport.) | |
RecoverMisfiredJobs | (Inherited from JobStoreSupport.) | |
ReleaseAcquiredTrigger(IOperableTrigger) |
Inform the IJobStore that the scheduler no longer plans to
fire the given ITrigger, that it had previously acquired
(reserved).
(Inherited from JobStoreSupport.) | |
ReleaseAcquiredTrigger(ConnectionAndTransactionHolder, IOperableTrigger) | (Inherited from JobStoreSupport.) | |
ReleaseLock | (Inherited from JobStoreSupport.) | |
RemoveCalendar(String) |
Remove (delete) the ICalendar with the given name.
(Inherited from JobStoreSupport.) | |
RemoveCalendar(ConnectionAndTransactionHolder, String) | (Inherited from JobStoreSupport.) | |
RemoveJob(JobKey) | (Inherited from JobStoreSupport.) | |
RemoveJob(ConnectionAndTransactionHolder, JobKey, Boolean) | (Inherited from JobStoreSupport.) | |
RemoveJobs | (Inherited from JobStoreSupport.) | |
RemoveTrigger(TriggerKey) |
Remove (delete) the ITrigger with the
given name.
(Inherited from JobStoreSupport.) | |
RemoveTrigger(ConnectionAndTransactionHolder, TriggerKey) | (Inherited from JobStoreSupport.) | |
RemoveTrigger(ConnectionAndTransactionHolder, TriggerKey, IJobDetail) | (Inherited from JobStoreSupport.) | |
RemoveTriggers | (Inherited from JobStoreSupport.) | |
ReplaceTrigger(TriggerKey, IOperableTrigger) | (Inherited from JobStoreSupport.) | |
ReplaceTrigger(ConnectionAndTransactionHolder, TriggerKey, IOperableTrigger) | (Inherited from JobStoreSupport.) | |
ResumeAll |
Resume (un-pause) all triggers - equivalent of calling ResumeTriggers(GroupMatcher TriggerKey )
on every group.
(Inherited from JobStoreSupport.) | |
ResumeAll(ConnectionAndTransactionHolder) |
Resume (un-pause) all triggers - equivalent of calling ResumeTriggers(GroupMatcher TriggerKey )
on every group.
(Inherited from JobStoreSupport.)If any ITrigger missed one or more fire-times, then the ITrigger's misfire instruction will be applied. | |
ResumeJob |
Resume (un-pause) the IJob with the
given name.
(Inherited from JobStoreSupport.) | |
ResumeJobs |
Resume (un-pause) all of the IJobs in
the given group.
(Inherited from JobStoreSupport.) | |
ResumeTrigger(TriggerKey) | (Inherited from JobStoreSupport.) | |
ResumeTrigger(ConnectionAndTransactionHolder, TriggerKey) |
Resume (un-pause) the ITrigger with the
given name.
(Inherited from JobStoreSupport.) | |
ResumeTriggers(GroupMatcher TriggerKey ) | (Inherited from JobStoreSupport.) | |
ResumeTriggers(ConnectionAndTransactionHolder, GroupMatcher TriggerKey ) |
Resume (un-pause) all of the ITriggers
in the given group.
(Inherited from JobStoreSupport.)If any ITrigger missed one or more fire-times, then the ITrigger's misfire instruction will be applied. | |
RetrieveCalendar(String) |
Retrieve the given ITrigger.
(Inherited from JobStoreSupport.) | |
RetrieveCalendar(ConnectionAndTransactionHolder, String) | (Inherited from JobStoreSupport.) | |
RetrieveJob(JobKey) |
Retrieve the IJobDetail for the given
IJob.
(Inherited from JobStoreSupport.) | |
RetrieveJob(ConnectionAndTransactionHolder, JobKey) | (Inherited from JobStoreSupport.) | |
RetrieveTrigger(TriggerKey) |
Retrieve the given ITrigger.
(Inherited from JobStoreSupport.) | |
RetrieveTrigger(ConnectionAndTransactionHolder, TriggerKey) | (Inherited from JobStoreSupport.) | |
RetryExecuteInNonManagedTXLock(String, Action ConnectionAndTransactionHolder ) | (Inherited from JobStoreSupport.) | |
RetryExecuteInNonManagedTXLock T (String, Func ConnectionAndTransactionHolder, T ) | (Inherited from JobStoreSupport.) | |
RollbackConnection |
Rollback the supplied connection.
(Inherited from JobStoreSupport.) | |
SchedulerPaused |
Called by the QuartzScheduler to inform the JobStore that
the scheduler has been paused.
(Inherited from JobStoreSupport.) | |
SchedulerResumed |
Called by the QuartzScheduler to inform the JobStore that
the scheduler has resumed after being paused.
(Inherited from JobStoreSupport.) | |
SchedulerStarted | (Inherited from JobStoreSupport.) | |
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.
(Overrides JobStoreSupport Shutdown .) | |
SignalSchedulingChangeImmediately | (Inherited from JobStoreSupport.) | |
SignalSchedulingChangeOnTxCompletion | (Inherited from JobStoreSupport.) | |
StoreCalendar(String, ICalendar, Boolean, Boolean) |
Store the given ICalendar.
(Inherited from JobStoreSupport.) | |
StoreCalendar(ConnectionAndTransactionHolder, String, ICalendar, Boolean, Boolean) | (Inherited from JobStoreSupport.) | |
StoreJob(IJobDetail, Boolean) |
Stores the given IJobDetail.
(Inherited from JobStoreSupport.) | |
StoreJob(ConnectionAndTransactionHolder, IJobDetail, Boolean) | Insert or update a job. | |
StoreJobAndTrigger |
Store the given IJobDetail and IOperableTrigger.
(Inherited from JobStoreSupport.) | |
StoreJobsAndTriggers | (Inherited from JobStoreSupport.) | |
StoreTrigger(IOperableTrigger, Boolean) |
Store the given ITrigger.
(Inherited from JobStoreSupport.) | |
StoreTrigger(ConnectionAndTransactionHolder, IOperableTrigger, IJobDetail, Boolean, String, Boolean, Boolean) |
Insert or update a trigger.
(Inherited from JobStoreSupport.) | |
ToString | (Inherited from Object.) | |
TriggeredJobComplete(IOperableTrigger, IJobDetail, SchedulerInstruction) |
Inform the IJobStore that the scheduler has completed the
firing of the given ITrigger (and the execution its
associated IJob), and that the JobDataMap
in the given IJobDetail should be updated if the IJob
is stateful.
(Inherited from JobStoreSupport.) | |
TriggeredJobComplete(ConnectionAndTransactionHolder, IOperableTrigger, IJobDetail, SchedulerInstruction) | (Inherited from JobStoreSupport.) | |
TriggerExists |
Check existence of a given trigger.
(Inherited from JobStoreSupport.) | |
TriggerFired | (Inherited from JobStoreSupport.) | |
TriggersFired | (Inherited from JobStoreSupport.) | |
UpdateMisfiredTrigger | (Inherited from JobStoreSupport.) |
Fields
Name | Description | |
---|---|---|
calendarCache | (Inherited from JobStoreSupport.) | |
delegateType | (Inherited from JobStoreSupport.) | |
delegateTypeName | (Inherited from JobStoreSupport.) | |
firstCheckIn | (Inherited from JobStoreSupport.) | |
lastCheckin | (Inherited from JobStoreSupport.) |
Properties
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.
(Inherited from JobStoreSupport.) | |
CanUseProperties |
Get whether String-only properties will be handled in JobDataMaps.
(Inherited from JobStoreSupport.) | |
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.
(Inherited from JobStoreSupport.) | |
Clustered |
Get or set whether this instance is part of a cluster.
(Inherited from JobStoreSupport.) | |
ConnectionManager |
Get or set the database connection manager.
(Inherited from JobStoreSupport.) | |
DataSource |
Get or set the datasource name.
(Inherited from JobStoreSupport.) | |
DbMetadata | (Inherited from JobStoreSupport.) | |
DbRetryInterval |
Gets or sets the database retry interval.
(Inherited from JobStoreSupport.) | |
Delegate |
Get the driver delegate for DB operations.
(Inherited from JobStoreSupport.) | |
DontSetAutoCommitFalse |
Don't call set autocommit(false) on connections obtained from the
DataSource. This can be helpfull in a few situations, such as if you
have a driver that complains if it is called when it is already off.
(Inherited from JobStoreSupport.) | |
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 are misfired
Triggers.
(Inherited from JobStoreSupport.) | |
DriverDelegateInitString |
The driver delegate's initialization string.
(Inherited from JobStoreSupport.) | |
DriverDelegateType |
Get or set the ADO.NET driver delegate class name.
(Inherited from JobStoreSupport.) | |
EstimatedTimeToReleaseAndAcquireTrigger | (Inherited from JobStoreSupport.) | |
InstanceId |
Get or set the instance Id of the Scheduler (must be unique within a cluster).
(Inherited from JobStoreSupport.) | |
InstanceName |
Get or set the instance Id of the Scheduler (must be unique within this server instance).
(Inherited from JobStoreSupport.) | |
LockHandler | (Inherited from JobStoreSupport.) | |
LockOnInsert |
Whether or not to obtain locks when inserting new jobs/triggers.
(Inherited from JobStoreSupport.) | |
Log |
Gets the log.
(Inherited from JobStoreSupport.) | |
MakeThreadsDaemons |
Get whether the threads spawned by this JobStore should be
marked as daemon. Possible threads include the MisfireHandler
and the ClusterManager.
(Inherited from JobStoreSupport.) | |
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.
(Inherited from JobStoreSupport.) | |
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.
(Inherited from JobStoreSupport.) | |
MisfireTime | (Inherited from JobStoreSupport.) | |
ObjectSerializer | (Inherited from JobStoreSupport.) | |
OpenConnection |
Instructs this job store whether connections should be automatically opened.
| |
SelectWithLockSQL |
set the SQL statement to use to select and lock a row in the "locks"
table.
(Inherited from JobStoreSupport.) | |
SupportsPersistence |
Indicates whether this job store supports persistence.
(Inherited from JobStoreSupport.) | |
TablePrefix |
Get or sets the prefix that should be pre-pended to all table names.
(Inherited from JobStoreSupport.) | |
ThreadExecutor | (Inherited from JobStoreSupport.) | |
ThreadPoolSize | (Inherited from JobStoreSupport.) | |
TxIsolationLevelSerializable |
Set the transaction isolation level of DB connections to sequential.
(Inherited from JobStoreSupport.) | |
TypeLoadHelper | (Inherited from JobStoreSupport.) | |
UseDBLocks |
Get or set whether this instance should use database-based thread
synchronization.
(Inherited from JobStoreSupport.) | |
UseProperties |
Set whether string-only properties will be handled in JobDataMaps.
(Inherited from JobStoreSupport.) |
See Also