Table of Contents

Struct TriggerAcquireResult

Namespace
Quartz.Impl.AdoJobStore
Assembly
Quartz.dll
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?)

public TriggerAcquireResult(TriggerKey TriggerKey, string JobTypeName, string? ExecutionGroup)

Parameters

TriggerKey TriggerKey

The key of the trigger that could be fired.

JobTypeName string

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.

ExecutionGroup string

The 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

string

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

string

TriggerKey

The key of the trigger that could be fired.

public TriggerKey TriggerKey { get; init; }

Property Value

TriggerKey