Table of Contents

Struct ExecutionGroupInFlight

Namespace
Quartz
Assembly
Quartz.dll

How much work one execution group already has in flight across the cluster, as a store reports it to CreateSlots(IReadOnlyCollection<ExecutionGroupInFlight>?).

public readonly record struct ExecutionGroupInFlight : IEquatable<ExecutionGroupInFlight>
Implements
Inherited Members

Remarks

Both group names are carried because a limit's key is derived from the pair rather than from either alone: UsesTriggerGroupWhenUnset lets the trigger group stand in when the trigger carries no execution group. A store therefore reports what it has — for the ADO.NET store, one row per distinct pair in QRTZ_FIRED_TRIGGERS — and the limits resolve the key, so that the count and the filter can never key work differently.

Constructors

ExecutionGroupInFlight(string?, string, int)

How much work one execution group already has in flight across the cluster, as a store reports it to CreateSlots(IReadOnlyCollection<ExecutionGroupInFlight>?).

public ExecutionGroupInFlight(string? ExecutionGroup, string TriggerGroup, int Count)

Parameters

ExecutionGroup string

The execution group the in-flight work carries, or null when it carries none.

TriggerGroup string

The trigger group the in-flight work belongs to.

Count int

How many reservations and executions the pair has in flight.

Remarks

Both group names are carried because a limit's key is derived from the pair rather than from either alone: UsesTriggerGroupWhenUnset lets the trigger group stand in when the trigger carries no execution group. A store therefore reports what it has — for the ADO.NET store, one row per distinct pair in QRTZ_FIRED_TRIGGERS — and the limits resolve the key, so that the count and the filter can never key work differently.

Properties

Count

How many reservations and executions the pair has in flight.

public int Count { get; init; }

Property Value

int

ExecutionGroup

The execution group the in-flight work carries, or null when it carries none.

public string? ExecutionGroup { get; init; }

Property Value

string

TriggerGroup

The trigger group the in-flight work belongs to.

public string TriggerGroup { get; init; }

Property Value

string