Table of Contents

Class SchedulerIdentity

Namespace
Quartz.Extensibility
Assembly
Quartz.dll

Who the job store is storing for, handed to Initialize(SchedulerIdentity, CancellationToken) once before the store is used.

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

Remarks

The identity cannot be a constructor argument, because it is not fully known at construction: with GenerateInstanceId the instance id is produced by an IInstanceIdGenerator that runs after the container has built the object graph. Initialization is the first moment the value is settled, which is why it arrives here — the same reasoning, and the same shape, as LockHandlerContext on Initialize(LockHandlerContext).

Properties

InstanceId

The identifier of this scheduler node, unique within a cluster. A store records it against the firings this node owns, so that a listing can say which node is running what.

public required string InstanceId { get; init; }

Property Value

string

SchedulerName

The name of the scheduler, shared by every node of a cluster.

public required string SchedulerName { get; init; }

Property Value

string