MisfireInstructionSimpleTrigger Structure

Quartz.NET 3.0 API Documentation
Misfire policy settings for SimpleTrigger.

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

C#
public struct SimpleTrigger

The MisfireInstructionSimpleTrigger type exposes the following members.

Methods

  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Fields

  NameDescription
Public fieldStatic memberFireNow
Instructs the IScheduler that upon a mis-fire situation, the ISimpleTrigger wants to be fired now by IScheduler.

NOTE: This instruction should typically only be used for 'one-shot' (non-repeating) Triggers. If it is used on a trigger with a repeat count > 0 then it is equivalent to the instruction RescheduleNowWithRemainingRepeatCount.

Public fieldStatic memberRescheduleNextWithExistingCount
Instructs the IScheduler that upon a mis-fire situation, the ISimpleTrigger wants to be re-scheduled to the next scheduled time after 'now' - taking into account any associated ICalendar, and with the repeat count left unchanged.
Public fieldStatic memberRescheduleNextWithRemainingCount
Instructs the IScheduler that upon a mis-fire situation, the ISimpleTrigger wants to be re-scheduled to the next scheduled time after 'now' - taking into account any associated ICalendar, and with the repeat count set to what it would be, if it had not missed any firings.
Public fieldStatic memberRescheduleNowWithExistingRepeatCount
Instructs the IScheduler that upon a mis-fire situation, the ISimpleTrigger wants to be re-scheduled to 'now' (even if the associated ICalendar excludes 'now') with the repeat count left as-is. This does obey the ITrigger end-time however, so if 'now' is after the end-time the ITrigger will not fire again.
Public fieldStatic memberRescheduleNowWithRemainingRepeatCount
Instructs the IScheduler that upon a mis-fire situation, the ISimpleTrigger wants to be re-scheduled to 'now' (even if the associated ICalendar excludes 'now') with the repeat count set to what it would be, if it had not missed any firings. This does obey the ITrigger end-time however, so if 'now' is after the end-time the ITrigger will not fire again.

NOTE: Use of this instruction causes the trigger to 'forget' the start-time and repeat-count that it was originally setup with. Instead, the repeat count on the trigger will be changed to whatever the remaining repeat count is (this is only an issue if you for some reason wanted to be able to tell what the original values were at some later time).

NOTE: This instruction could cause the ITrigger to go to the 'COMPLETE' state after firing 'now', if all the repeat-fire-times where missed.

Top
See Also

Reference