JobStoreTX MembersQuartz.NET API Documentation

The JobStoreTX type exposes the following members.

Constructors

  NameDescription
Public methodJobStoreTX
Initializes a new instance of the JobStoreTX class
Top
Methods

  NameDescription
Public methodAcquireNextTrigger(SchedulingContext, DateTime)
Get a handle to the next N triggers to be fired, and mark them as 'reserved' by the calling scheduler.
(Inherited from JobStoreSupport.)
Protected methodAcquireNextTrigger(ConnectionAndTransactionHolder, SchedulingContext, DateTime) (Inherited from JobStoreSupport.)
Protected methodCalcFailedIfAfter (Inherited from JobStoreSupport.)
Protected methodCalendarExists (Inherited from JobStoreSupport.)
Protected methodCheckBlockedState
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.)
Protected methodCleanupConnection
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.)
Protected methodCleanVolatileTriggerAndJobs 
Removes all volatile data.
(Inherited from JobStoreSupport.)
Protected methodCleanVolatileTriggerAndJobs(ConnectionAndTransactionHolder)
Removes all volatile data.
(Inherited from JobStoreSupport.)
Protected methodCloseConnection
Closes the supplied connection.
(Inherited from JobStoreSupport.)
Protected methodClusterCheckIn (Inherited from JobStoreSupport.)
Protected methodClusterRecover (Inherited from JobStoreSupport.)
Protected methodCommitConnection
Commit the supplied connection.
(Inherited from JobStoreSupport.)
Protected methodDoCheckin (Inherited from JobStoreSupport.)
Protected methodDoRecoverMisfires (Inherited from JobStoreSupport.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodExecuteInLock(String, JobStoreSupport IVoidTransactionCallback)
Execute the given callback having aquired the given lock. Depending on the JobStore, the surrounding transaction may be assumed to be already present (managed). This version is just a handy wrapper around executeInLock that doesn't require a return value.
(Inherited from JobStoreSupport.)
Protected methodExecuteInLock(String, JobStoreSupport ITransactionCallback)
Execute the given callback having optionally aquired the given lock. For JobStoreTX, because it manages its own transactions and only has the one datasource, this is the same behavior as ExecuteInNonManagedTXLock(String, JobStoreSupport ITransactionCallback).
(Overrides JobStoreSupport ExecuteInLock(String, JobStoreSupport ITransactionCallback).)
Protected methodExecuteInNonManagedTXLock(String, JobStoreSupport ITransactionCallback)
Execute the given callback having optionally aquired the given lock. This uses the non-managed transaction connection.
(Inherited from JobStoreSupport.)
Protected methodExecuteInNonManagedTXLock(String, JobStoreSupport IVoidTransactionCallback)
Execute the given callback having optionally aquired the given lock. This uses the non-managed transaction connection. This version is just a handy wrapper around executeInNonManagedTXLock that doesn't require a return value.
(Inherited from JobStoreSupport.)
Protected methodExecuteWithoutLock
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.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodFindFailedInstances
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.)
Public methodGetCalendarNames(SchedulingContext)
Get the names of all of the ICalendar s in the IJobStore.
(Inherited from JobStoreSupport.)
Protected methodGetCalendarNames(ConnectionAndTransactionHolder, SchedulingContext) (Inherited from JobStoreSupport.)
Protected methodGetConnection
Gets the connection and starts a new transaction.
(Inherited from JobStoreSupport.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetJobGroupNames(SchedulingContext)
Get the names of all of the IJob groups.
(Inherited from JobStoreSupport.)
Protected methodGetJobGroupNames(ConnectionAndTransactionHolder, SchedulingContext) (Inherited from JobStoreSupport.)
Public methodGetJobNames(SchedulingContext, String)
Get the names of all of the IJob s that have the given group name.
(Inherited from JobStoreSupport.)
Protected methodGetJobNames(ConnectionAndTransactionHolder, SchedulingContext, String) (Inherited from JobStoreSupport.)
Protected methodGetNewStatusForTrigger (Inherited from JobStoreSupport.)
Protected methodGetNonManagedTXConnection
For JobStoreTX, the non-managed TX connection is just the normal connection because it is not CMT.
(Overrides JobStoreSupport GetNonManagedTXConnection .)
Public methodGetNumberOfCalendars(SchedulingContext)
Get the number of ICalendar s that are stored in the IJobStore.
(Inherited from JobStoreSupport.)
Protected methodGetNumberOfCalendars(ConnectionAndTransactionHolder, SchedulingContext) (Inherited from JobStoreSupport.)
Public methodGetNumberOfJobs(SchedulingContext)
Get the number of IJob s that are stored in the IJobStore.
(Inherited from JobStoreSupport.)
Protected methodGetNumberOfJobs(ConnectionAndTransactionHolder, SchedulingContext) (Inherited from JobStoreSupport.)
Public methodGetNumberOfTriggers(SchedulingContext)
Get the number of Trigger s that are stored in the IJobStore.
(Inherited from JobStoreSupport.)
Protected methodGetNumberOfTriggers(ConnectionAndTransactionHolder, SchedulingContext) (Inherited from JobStoreSupport.)
Public methodGetPausedTriggerGroups(SchedulingContext) (Inherited from JobStoreSupport.)
Public methodGetPausedTriggerGroups(ConnectionAndTransactionHolder, SchedulingContext)
Pause all of the Triggers in the given group.
(Inherited from JobStoreSupport.)
Public methodGetTriggerGroupNames(SchedulingContext)
Get the names of all of the Trigger groups.
(Inherited from JobStoreSupport.)
Protected methodGetTriggerGroupNames(ConnectionAndTransactionHolder, SchedulingContext) (Inherited from JobStoreSupport.)
Public methodGetTriggerNames(SchedulingContext, String)
Get the names of all of the Trigger s that have the given group name.
(Inherited from JobStoreSupport.)
Protected methodGetTriggerNames(ConnectionAndTransactionHolder, SchedulingContext, String) (Inherited from JobStoreSupport.)
Public methodGetTriggersForJob(SchedulingContext, String, String)
Get all of the Triggers that are associated to the given Job.
(Inherited from JobStoreSupport.)
Protected methodGetTriggersForJob(ConnectionAndTransactionHolder, SchedulingContext, String, String) (Inherited from JobStoreSupport.)
Public methodGetTriggerState(SchedulingContext, String, String)
Get the current state of the identified Trigger.
(Inherited from JobStoreSupport.)
Public methodGetTriggerState(ConnectionAndTransactionHolder, SchedulingContext, String, String)
Gets the state of the trigger.
(Inherited from JobStoreSupport.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Called by the QuartzScheduler before the IJobStore is used, in order to give the it a chance to Initialize.
(Overrides JobStoreSupport Initialize(ITypeLoadHelper, ISchedulerSignaler).)
Public methodIsJobGroupPaused
returns true if the given JobGroup is paused
(Inherited from JobStoreSupport.)
Public methodIsTriggerGroupPaused
returns true if the given TriggerGroup is paused
(Inherited from JobStoreSupport.)
Protected methodJobExists
Check existence of a given job.
(Inherited from JobStoreSupport.)
Protected methodLogWarnIfNonZero (Inherited from JobStoreSupport.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPauseAll(SchedulingContext) (Inherited from JobStoreSupport.)
Public methodPauseAll(ConnectionAndTransactionHolder, SchedulingContext)
Pause all triggers - equivalent of calling PauseTriggerGroup(SchedulingContext, String) on every group.

When ResumeAll(SchedulingContext) is called (to un-pause), trigger misfire instructions WILL be applied.

(Inherited from JobStoreSupport.)
Public methodPauseJob
Pause the IJob with the given name - by pausing all of its current Triggers.
(Inherited from JobStoreSupport.)
Public methodPauseJobGroup
Pause all of the IJobs in the given group - by pausing all of their Triggers.
(Inherited from JobStoreSupport.)
Public methodPauseTrigger(SchedulingContext, String, String)
Pause the Trigger with the given name.
(Inherited from JobStoreSupport.)
Public methodPauseTrigger(ConnectionAndTransactionHolder, SchedulingContext, String, String)
Pause the Trigger with the given name.
(Inherited from JobStoreSupport.)
Public methodPauseTriggerGroup(SchedulingContext, String)
Pause all of the Triggers in the given group.
(Inherited from JobStoreSupport.)
Public methodPauseTriggerGroup(ConnectionAndTransactionHolder, SchedulingContext, String)
Pause all of the Triggers in the given group.
(Inherited from JobStoreSupport.)
Protected methodRecoverJobs 
Will recover any failed or misfired jobs and clean up the data store as appropriate.
(Inherited from JobStoreSupport.)
Protected methodRecoverJobs(ConnectionAndTransactionHolder)
Will recover any failed or misfired jobs and clean up the data store as appropriate.
(Inherited from JobStoreSupport.)
Public methodRecoverMisfiredJobs (Inherited from JobStoreSupport.)
Public methodReleaseAcquiredTrigger(SchedulingContext, Trigger)
Inform the IJobStore that the scheduler no longer plans to fire the given Trigger, that it had previously acquired (reserved).
(Inherited from JobStoreSupport.)
Protected methodReleaseAcquiredTrigger(ConnectionAndTransactionHolder, SchedulingContext, Trigger) (Inherited from JobStoreSupport.)
Protected methodReleaseLock (Inherited from JobStoreSupport.)
Public methodRemoveCalendar(SchedulingContext, String)
Remove (delete) the ICalendar with the given name.
(Inherited from JobStoreSupport.)
Protected methodRemoveCalendar(ConnectionAndTransactionHolder, SchedulingContext, String) (Inherited from JobStoreSupport.)
Public methodRemoveJob(SchedulingContext, String, String)
Remove (delete) the IJob with the given name, and any Trigger s that reference it.
(Inherited from JobStoreSupport.)
Protected methodRemoveJob(ConnectionAndTransactionHolder, SchedulingContext, String, String, Boolean) (Inherited from JobStoreSupport.)
Public methodRemoveTrigger(SchedulingContext, String, String)
Remove (delete) the Trigger with the given name.
(Inherited from JobStoreSupport.)
Protected methodRemoveTrigger(ConnectionAndTransactionHolder, SchedulingContext, String, String) (Inherited from JobStoreSupport.)
Public methodReplaceTrigger(SchedulingContext, String, String, Trigger) (Inherited from JobStoreSupport.)
Protected methodReplaceTrigger(ConnectionAndTransactionHolder, SchedulingContext, String, String, Trigger) (Inherited from JobStoreSupport.)
Public methodResumeAll(SchedulingContext)
Resume (un-pause) all triggers - equivalent of calling ResumeTriggerGroup(SchedulingContext, String) on every group.
(Inherited from JobStoreSupport.)
Public methodResumeAll(ConnectionAndTransactionHolder, SchedulingContext)
Resume (un-pause) all triggers - equivalent of calling ResumeTriggerGroup(SchedulingContext, String) on every group.

If any Trigger missed one or more fire-times, then the Trigger's misfire instruction will be applied.

(Inherited from JobStoreSupport.)
Public methodResumeJob
Resume (un-pause) the IJob with the given name.
(Inherited from JobStoreSupport.)
Public methodResumeJobGroup
Resume (un-pause) all of the IJobs in the given group.
(Inherited from JobStoreSupport.)
Public methodResumeTrigger(SchedulingContext, String, String) (Inherited from JobStoreSupport.)
Public methodResumeTrigger(ConnectionAndTransactionHolder, SchedulingContext, String, String)
Resume (un-pause) the Trigger with the given name.
(Inherited from JobStoreSupport.)
Public methodResumeTriggerGroup(SchedulingContext, String) (Inherited from JobStoreSupport.)
Public methodResumeTriggerGroup(ConnectionAndTransactionHolder, SchedulingContext, String)
Resume (un-pause) all of the Triggers in the given group.

If any Trigger missed one or more fire-times, then the Trigger's misfire instruction will be applied.

(Inherited from JobStoreSupport.)
Public methodRetrieveCalendar(SchedulingContext, String)
Retrieve the given Trigger.
(Inherited from JobStoreSupport.)
Protected methodRetrieveCalendar(ConnectionAndTransactionHolder, SchedulingContext, String) (Inherited from JobStoreSupport.)
Public methodRetrieveJob(SchedulingContext, String, String)
Retrieve the JobDetail for the given IJob.
(Inherited from JobStoreSupport.)
Protected methodRetrieveJob(ConnectionAndTransactionHolder, SchedulingContext, String, String) (Inherited from JobStoreSupport.)
Protected methodRetrieveTrigger(ConnectionAndTransactionHolder, String, String) (Inherited from JobStoreSupport.)
Public methodRetrieveTrigger(SchedulingContext, String, String)
Retrieve the given Trigger.
(Inherited from JobStoreSupport.)
Protected methodRetrieveTrigger(ConnectionAndTransactionHolder, SchedulingContext, String, String) (Inherited from JobStoreSupport.)
Protected methodRollbackConnection
Rollback the supplied connection.
(Inherited from JobStoreSupport.)
Public methodSchedulerStarted (Inherited from JobStoreSupport.)
Public methodShutdown
Called by the QuartzScheduler to inform the IJobStore that it should free up all of it's resources because the scheduler is shutting down.
(Inherited from JobStoreSupport.)
Protected methodSignalSchedulingChange (Inherited from JobStoreSupport.)
Public methodStoreCalendar(SchedulingContext, String, ICalendar, Boolean, Boolean)
Store the given ICalendar.
(Inherited from JobStoreSupport.)
Protected methodStoreCalendar(ConnectionAndTransactionHolder, SchedulingContext, String, ICalendar, Boolean, Boolean) (Inherited from JobStoreSupport.)
Public methodStoreJob(SchedulingContext, JobDetail, Boolean)
Stores the given JobDetail.
(Inherited from JobStoreSupport.)
Protected methodStoreJob(ConnectionAndTransactionHolder, SchedulingContext, JobDetail, Boolean)

Insert or update a job.

(Inherited from JobStoreSupport.)
Public methodStoreJobAndTrigger
Store the given JobDetail and Trigger.
(Inherited from JobStoreSupport.)
Public methodStoreTrigger(SchedulingContext, Trigger, Boolean)
Store the given Trigger.
(Inherited from JobStoreSupport.)
Protected methodStoreTrigger(ConnectionAndTransactionHolder, SchedulingContext, Trigger, JobDetail, Boolean, String, Boolean, Boolean)
Insert or update a trigger.
(Inherited from JobStoreSupport.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTriggeredJobComplete(SchedulingContext, Trigger, JobDetail, SchedulerInstruction)
Inform the IJobStore that the scheduler has completed the firing of the given Trigger (and the execution its associated IJob), and that the JobDataMap in the given JobDetail should be updated if the IJob is stateful.
(Inherited from JobStoreSupport.)
Protected methodTriggeredJobComplete(ConnectionAndTransactionHolder, SchedulingContext, Trigger, JobDetail, SchedulerInstruction) (Inherited from JobStoreSupport.)
Protected methodTriggerExists
Check existence of a given trigger.
(Inherited from JobStoreSupport.)
Public methodTriggerFired(SchedulingContext, Trigger) (Inherited from JobStoreSupport.)
Protected methodTriggerFired(ConnectionAndTransactionHolder, SchedulingContext, Trigger) (Inherited from JobStoreSupport.)
Protected methodUpdateMisfiredTrigger (Inherited from JobStoreSupport.)
Top
Fields

  NameDescription
Protected fieldcalendarCache (Inherited from JobStoreSupport.)
Protected fielddataSource (Inherited from JobStoreSupport.)
Protected fielddelegateType (Inherited from JobStoreSupport.)
Protected fielddelegateTypeName (Inherited from JobStoreSupport.)
Protected fieldfirstCheckIn (Inherited from JobStoreSupport.)
Protected fieldinstanceId (Inherited from JobStoreSupport.)
Protected fieldinstanceName (Inherited from JobStoreSupport.)
Protected fieldlastCheckin (Inherited from JobStoreSupport.)
Protected fieldmaxToRecoverAtATime (Inherited from JobStoreSupport.)
Protected fieldtablePrefix (Inherited from JobStoreSupport.)
Protected fielduseProperties (Inherited from JobStoreSupport.)
Top
Properties

  NameDescription
Public propertyAcquireTriggersWithinLock
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.)
Public propertyCanUseProperties
Get whether String-only properties will be handled in JobDataMaps.
(Inherited from JobStoreSupport.)
Public propertyClusterCheckinInterval
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.)
Public propertyClustered
Get or set whether this instance is part of a cluster.
(Inherited from JobStoreSupport.)
Public propertyDataSource
Get or set the datasource name.
(Inherited from JobStoreSupport.)
Protected propertyDbMetadata (Inherited from JobStoreSupport.)
Public propertyDbRetryInterval
Gets or sets the database retry interval.
(Inherited from JobStoreSupport.)
Protected propertyDelegate
Get the driver delegate for DB operations.
(Inherited from JobStoreSupport.)
Public propertyDontSetAutoCommitFalse
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.)
Public propertyDoubleCheckLockMisfireHandler
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.)
Public propertyDriverDelegateType
Get or set the ADO.NET driver delegate class name.
(Inherited from JobStoreSupport.)
Protected propertyFiredTriggerRecordId (Inherited from JobStoreSupport.)
Public propertyInstanceId
Get or set the instance Id of the Scheduler (must be unique within a cluster).
(Inherited from JobStoreSupport.)
Public propertyInstanceName
Get or set the instance Id of the Scheduler (must be unique within this server instance).
(Inherited from JobStoreSupport.)
Protected propertyLockHandler (Inherited from JobStoreSupport.)
Public propertyLockOnInsert
Whether or not to obtain locks when inserting new jobs/triggers. Defaults to  , which is safest - some db's (such as MS SQLServer) seem to require this to avoid deadlocks under high load, while others seem to do fine without.
(Inherited from JobStoreSupport.)
Protected propertyLog
Gets the log.
(Inherited from JobStoreSupport.)
Public propertyMakeThreadsDaemons
Get whether the threads spawned by this JobStore should be marked as daemon. Possible threads include the MisfireHandler and the ClusterManager.
(Inherited from JobStoreSupport.)
Public propertyMaxMisfiresToHandleAtATime
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.)
Public propertyMisfireThreshold
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.)
Protected propertyMisfireTime (Inherited from JobStoreSupport.)
Public propertySelectWithLockSQL
set the SQL statement to use to select and lock a row in the "locks" table.
(Inherited from JobStoreSupport.)
Public propertySupportsPersistence
Indicates whether this job store supports persistence.
(Inherited from JobStoreSupport.)
Public propertyTablePrefix
Get or sets the prefix that should be pre-pended to all table names.
(Inherited from JobStoreSupport.)
Public propertyTxIsolationLevelSerializable
Set the transaction isolation level of DB connections to sequential.
(Inherited from JobStoreSupport.)
Protected propertyTypeLoadHelper (Inherited from JobStoreSupport.)
Public propertyUseDBLocks
Get or set whether this instance should use database-based thread synchronization.
(Inherited from JobStoreSupport.)
Public propertyUseProperties
Set whether string-only properties will be handled in JobDataMaps.
(Inherited from JobStoreSupport.)
Top
See Also