Table of Contents

Class SchedulerStateDto

Namespace
Quartz.Dashboard.Hubs
Assembly
Quartz.Dashboard.dll

The state a scheduler is now in, pushed whenever it changes.

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

Remarks

A SchedulerStatus rather than free text: this used to be a phrase chosen at each call site, which is how a running scheduler came to be announced as "Started" here while the same state was called "Running" everywhere else. It carries the state the scheduler is in, so an event that is not a state — a scheduler that is starting — is not one of these at all.

The state is one node's. A cluster is a scheduler running in several processes at once, each with a lifecycle of its own, so a node going into standby says nothing about its peers.

Constructors

SchedulerStateDto(string, string, SchedulerStatus)

The state a scheduler is now in, pushed whenever it changes.

public SchedulerStateDto(string SchedulerName, string SchedulerInstanceId, SchedulerStatus Status)

Parameters

SchedulerName string
SchedulerInstanceId string
Status SchedulerStatus

Remarks

A SchedulerStatus rather than free text: this used to be a phrase chosen at each call site, which is how a running scheduler came to be announced as "Started" here while the same state was called "Running" everywhere else. It carries the state the scheduler is in, so an event that is not a state — a scheduler that is starting — is not one of these at all.

The state is one node's. A cluster is a scheduler running in several processes at once, each with a lifecycle of its own, so a node going into standby says nothing about its peers.

Properties

SchedulerInstanceId

public string SchedulerInstanceId { get; init; }

Property Value

string

SchedulerName

public string SchedulerName { get; init; }

Property Value

string

Status

public SchedulerStatus Status { get; init; }

Property Value

SchedulerStatus