Class TriggerFiredBundle
- Namespace
- Quartz.Extensibility
- Assembly
- Quartz.dll
What a job store hands the scheduler for one fire: the trigger that fired, the job it starts, and the fire times the execution context reports.
public sealed record TriggerFiredBundle : IEquatable<TriggerFiredBundle>
- Inheritance
-
TriggerFiredBundle
- Implements
- Inherited Members
Remarks
A required-init record rather than a positional constructor, because a store builds one of these on its fire path and the shape used to end in three interchangeable DateTimeOffset values — transposing two compiled cleanly and produced a scheduler that reported wrong fire times to every listener. The sibling SPI request records (TriggerAcquisitionRequest) made the same choice for the same reason.
Properties
Calendar
The calendar the trigger fires against, when it names one.
public ICalendar? Calendar { get; init; }
Property Value
FireTimeUtc
The UTC time the trigger actually fired.
public required DateTimeOffset FireTimeUtc { get; init; }
Property Value
JobDetail
The job the fire executes.
public required IJobDetail JobDetail { get; init; }
Property Value
NextFireTimeUtc
The trigger's next UTC fire time, after this fire.
public required DateTimeOffset? NextFireTimeUtc { get; init; }
Property Value
PreviousFireTimeUtc
The trigger's previous UTC fire time, before this fire.
public required DateTimeOffset? PreviousFireTimeUtc { get; init; }
Property Value
Recovering
Whether this fire recovers an execution a failed scheduler instance left behind.
public required bool Recovering { get; init; }
Property Value
ScheduledFireTimeUtc
The UTC time the trigger was scheduled to fire, which trails FireTimeUtc by the firing latency.
public required DateTimeOffset? ScheduledFireTimeUtc { get; init; }
Property Value
Trigger
The trigger that fired.
public required IOperableTrigger Trigger { get; init; }