Namespace: Quartz
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
public struct SimpleTrigger
The MisfireInstructionSimpleTrigger type exposes the following members.
Name | Description | |
---|---|---|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Name | Description | |
---|---|---|
FireNow |
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. | |
RescheduleNextWithExistingCount |
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.
| |
RescheduleNextWithRemainingCount |
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.
| |
RescheduleNowWithExistingRepeatCount |
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.
| |
RescheduleNowWithRemainingRepeatCount |
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. |