Struct TriggerAcquireResult
- Namespace
- Quartz.Impl.AdoJobStore
- Assembly
- Quartz.dll
One candidate returned by SelectTriggersToAcquire(ConnectionAndTransactionHolder, TriggerAcquisitionCriteria, CancellationToken).
public readonly record struct TriggerAcquireResult : IEquatable<TriggerAcquireResult>
- Implements
- Inherited Members
Remarks
Deliberately not the trigger itself: acquisition looks at many more rows than it takes, so the candidate carries only what deciding costs — the key to reserve, the job type to load, and the execution group to count against its limit.
Constructors
TriggerAcquireResult(TriggerKey, string, string?)
One candidate returned by SelectTriggersToAcquire(ConnectionAndTransactionHolder, TriggerAcquisitionCriteria, CancellationToken).
public TriggerAcquireResult(TriggerKey TriggerKey, string JobTypeName, string? ExecutionGroup)
Parameters
TriggerKeyTriggerKeyThe key of the trigger that could be fired.
JobTypeNamestringThe name of the job's type, as the trigger's job row stores it — the same thing JobTypeName carries, and what the type loader is handed to load the job. Not to be confused with TriggerType, which is a store discriminator rather than a type name.
ExecutionGroupstringThe trigger's execution group, if it has one.
Remarks
Deliberately not the trigger itself: acquisition looks at many more rows than it takes, so the candidate carries only what deciding costs — the key to reserve, the job type to load, and the execution group to count against its limit.
Properties
ExecutionGroup
The trigger's execution group, if it has one.
public string? ExecutionGroup { get; init; }
Property Value
JobTypeName
The name of the job's type, as the trigger's job row stores it — the same thing JobTypeName carries, and what the type loader is handed to load the job. Not to be confused with TriggerType, which is a store discriminator rather than a type name.
public string JobTypeName { get; init; }
Property Value
TriggerKey
The key of the trigger that could be fired.
public TriggerKey TriggerKey { get; init; }