Table of Contents

Class FiredTriggerRecord

Namespace
Quartz.Impl.AdoJobStore
Assembly
Quartz.dll

One row of the FIRED_TRIGGERS table: a firing a scheduler instance has reserved, is running, or has been blocked from running.

public sealed record FiredTriggerRecord : IEquatable<FiredTriggerRecord>
Inheritance
FiredTriggerRecord
Implements
Inherited Members

Remarks

A row is written when a trigger is acquired and rewritten when it starts executing, so the members describing the job are only populated once the job is known — see JobKey.

This is the ADO.NET store's own currency: one row in full, for the recovery and failover passes that need the concurrency and recovery flags. The listing projection users see is FireInstance, which is store-neutral and paged. The overlap between the two is deliberate — they answer different questions.

Properties

ExecutionGroup

The execution group the firing's trigger carried, as written to FIRED_TRIGGERS, or null for a trigger with none.

public string? ExecutionGroup { get; init; }

Property Value

string

Remarks

The trigger's own ExecutionGroup, not the group UseTriggerGroupWhenUnset() derives from its trigger group. Unlike the job members it is filled in from acquisition on, because the trigger is known then.

FireInstanceId

Identifies this firing, and only this one: a trigger that fires again gets a new value.

public required string FireInstanceId { get; init; }

Property Value

string

FireInstanceState

The state of the firing, which is the state of the FIRED_TRIGGERS row rather than of the trigger itself.

public required StoredTriggerState FireInstanceState { get; init; }

Property Value

StoredTriggerState

FireTimestamp

When the row was written.

public DateTimeOffset FireTimestamp { get; init; }

Property Value

DateTimeOffset

JobDisallowsConcurrentExecution

Whether the job disallows concurrent execution. Always false while JobKey is null.

public bool JobDisallowsConcurrentExecution { get; init; }

Property Value

bool

JobKey

The job the trigger fires, or null for a row still in Acquired: acquisition records the trigger before the job has been loaded, so the job columns are only filled in once the firing starts.

public JobKey? JobKey { get; init; }

Property Value

JobKey

JobRequestsRecovery

Whether the job asks to be recovered after a scheduler failure. Always false while JobKey is null.

public bool JobRequestsRecovery { get; init; }

Property Value

bool

Priority

The priority the trigger fired with.

public int Priority { get; init; }

Property Value

int

ScheduleTimestamp

The time the trigger was scheduled to fire at.

public DateTimeOffset ScheduleTimestamp { get; init; }

Property Value

DateTimeOffset

SchedulerInstanceId

The instance id of the scheduler that reserved the firing or is running it.

public required string SchedulerInstanceId { get; init; }

Property Value

string

TriggerKey

The trigger that fired.

public required TriggerKey TriggerKey { get; init; }

Property Value

TriggerKey