RAMJobStore Class

Quartz.NET 3.0 API Documentation
This class implements a IJobStore that utilizes RAM as its storage device.

As you should know, the ramification of this is that access is extremely fast, but the data is completely volatile - therefore this IJobStore should not be used if true persistence between program shutdowns is required.

Inheritance Hierarchy

SystemObject
  Quartz.SimplRAMJobStore

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

C#
public class RAMJobStore : IJobStore

The RAMJobStore type exposes the following members.

Constructors

  NameDescription
Public methodRAMJobStore
Initializes a new instance of the RAMJobStore class.
Top
Properties

  NameDescription
Public propertyClustered
Public propertyEstimatedTimeToReleaseAndAcquireTrigger
Public propertyInstanceId
Inform the IJobStore of the Scheduler instance's Id, prior to initialize being invoked.
Public propertyInstanceName
Inform the IJobStore of the Scheduler instance's name, prior to initialize being invoked.
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.
Public propertySupportsPersistence
Returns whether this instance supports persistence.
Public propertyThreadPoolSize
Top
Methods

  NameDescription
Public methodAcquireNextTriggers
Get a handle to the next trigger to be fired, and mark it as 'reserved' by the calling scheduler.
Protected methodApplyMisfire
Applies the misfire.
Public methodCalendarExists
Determine whether a ICalendar with the given identifier already exists within the scheduler.
Public methodCheckExists(JobKey, CancellationToken)
Determine whether a IJob with the given identifier already exists within the scheduler.
Public methodCheckExists(TriggerKey, CancellationToken)
Determine whether a ITrigger with the given identifier already exists within the scheduler.
Public methodClearAllSchedulingData
Clears (deletes!) all scheduling data - all IJobs, ITriggers ICalendars.
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 methodGetCalendarNames
Get the names of all of the ICalendar s in the IJobStore.

If there are no ICalendars in the given group name, the result should be a zero-length array (not ).

Protected methodGetFiredTriggerRecordId
Gets the fired trigger record id.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetJobGroupNames
Get the names of all of the IJob groups.
Public methodGetJobKeys
Get the names of all of the IJob s that match the given group matcher.
Public methodGetNumberOfCalendars
Get the number of ICalendar s that are stored in the IJobStore.
Public methodGetNumberOfJobs
Get the number of IJobDetail s that are stored in the IJobStore.
Public methodGetNumberOfTriggers
Get the number of ITrigger s that are stored in the IJobStore.
Public methodGetPausedTriggerGroups
Public methodGetTriggerGroupNames
Get the names of all of the ITrigger groups.
Public methodGetTriggerKeys
Get the names of all of the ITrigger s that have the given group name.
Public methodGetTriggersForJob
Get all of the Triggers that are associated to the given Job.

If there are no matches, a zero-length array should be returned.

Public methodGetTriggerState
Get the current state of the identified ITrigger.
Protected methodGetTriggerWrappersForCalendar
Gets the trigger wrappers for calendar.
Protected methodGetTriggerWrappersForJob
Gets the trigger wrappers for job.
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.
Public methodIsJobGroupPaused
Returns true if the given job group is paused.
Public methodIsTriggerGroupPaused
Returns true if the given TriggerGroup is paused.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPauseAll
Public methodPauseJob
Pause the IJobDetail with the given name - by pausing all of its current ITriggers.
Public methodPauseJobs
Pause all of the IJobDetails in the given group - by pausing all of their ITriggers.

The JobStore should "remember" that the group is paused, and impose the pause on any new jobs that are added to the group while the group is paused.

Public methodPauseTrigger
Pause the ITrigger with the given name.
Public methodPauseTriggers
Pause all of the ITriggers in the given group.

The JobStore should "remember" that the group is paused, and impose the pause on any new triggers that are added to the group while the group is paused.

Protected methodPeekTriggers
Peeks the triggers.
Public methodReleaseAcquiredTrigger
Inform the IJobStore that the scheduler no longer plans to fire the given ITrigger, that it had previously acquired (reserved).
Public methodRemoveCalendar
Remove (delete) the ICalendar with the given name.

If removal of the ICalendar would result in ITriggers pointing to non-existent calendars, then a JobPersistenceException will be thrown.

Public methodRemoveJob
Remove (delete) the IJob with the given name, and any ITrigger s that reference it.
Public methodRemoveJobs
Protected methodRemoveTrigger(TriggerKey, Boolean)
Remove (delete) the ITrigger with the given name.
Public methodRemoveTrigger(TriggerKey, CancellationToken)
Remove (delete) the ITrigger with the given name.
Public methodRemoveTriggers
Public methodReplaceTrigger
Replaces the trigger.
Public methodResumeAll
Resume (un-pause) all triggers - equivalent of calling ResumeTriggers(GroupMatcherTriggerKey, CancellationToken) on every trigger group and setting all job groups unpaused />.

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

Public methodResumeJob
Resume (un-pause) the IJobDetail with the given name.

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

Public methodResumeJobs
Resume (un-pause) all of the IJobDetails in the given group.

If any of the IJob s had ITrigger s that missed one or more fire-times, then the ITrigger's misfire instruction will be applied.

Public methodResumeTrigger
Resume (un-pause) the ITrigger with the given key.
Public methodResumeTriggers
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.

Public methodRetrieveCalendar
Retrieve the given ITrigger.
Public methodRetrieveJob
Retrieve the IJobDetail for the given IJob.
Public methodRetrieveTrigger
Retrieve the given ITrigger.
Public methodSchedulerPaused
Called by the QuartzScheduler to inform the JobStore that the scheduler has been paused.
Public methodSchedulerResumed
Called by the QuartzScheduler to inform the JobStore that the scheduler has resumed after being paused.
Public methodSchedulerStarted
Called by the QuartzScheduler to inform the IJobStore that the scheduler has started.
Protected methodSetAllTriggersOfJobToState
Sets the state of all triggers of job to specified state.
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.
Public methodStoreCalendar
Store the given ICalendar.
Public methodStoreJob
Store the given IJob.
Public methodStoreJobAndTrigger
Store the given IJobDetail and ITrigger.
Public methodStoreJobsAndTriggers
Public methodStoreTrigger
Store the given ITrigger.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTriggeredJobComplete
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.
Public methodTriggersFired
Inform the IJobStore that the scheduler is now firing the given ITrigger (executing its associated IJob), that it had previously acquired (reserved).
Top
See Also

Reference