Table of Contents

Class InMemoryJobStoreOptions

Namespace
Quartz
Assembly
Quartz.dll

Strongly typed configuration for the in-memory job store.

public sealed class InMemoryJobStoreOptions
Inheritance
InMemoryJobStoreOptions
Inherited Members

Remarks

Binds from the JobStore section of the Quartz configuration when an in-memory store is in use.

Properties

MaxConsecutiveFireFailures

How many fires of one trigger in a row may fail before the trigger is set to ERROR, or 0 to never set it ERROR for this. Defaults to 5.

public int MaxConsecutiveFireFailures { get; set; }

Property Value

int

Remarks

A fire fails when the trigger's ICalendar, or a trigger type of your own, throws while the store moves the trigger on. That trigger is left as it was and released, and the rest of its batch fires. The same throw while the trigger's misfire is handled counts too, at most once per MisfireThreshold, and logs event 2010 each time. A misfire handled ends the run. One that fails every time is acquired again at once, ahead of its DisallowConcurrentExecutionAttribute job's other triggers. After this many failures in a row it is set to ERROR, the scheduler listeners hear TriggerInError(IScheduler, TriggerKey, CancellationToken), and event 2009 is logged. ResetTriggerFromErrorState(TriggerKey, CancellationToken) brings it back once the cause is fixed.

The same setting as MaxConsecutiveFireFailures, under the same flat key, quartz.jobStore.maxConsecutiveFireFailures.

MisfireThreshold

How far past its scheduled fire time a trigger may be before it is considered misfired and its misfire instruction is applied.

public TimeSpan MisfireThreshold { get; set; }

Property Value

TimeSpan