Class SchedulerMetadata
- Namespace
- Quartz
- Assembly
- Quartz.dll
Describes the settings and capabilities of a given IScheduler instance.
public sealed record SchedulerMetadata : IEquatable<SchedulerMetadata>
- Inheritance
-
SchedulerMetadata
- Implements
- Inherited Members
Remarks
The values are an instantaneous snapshot: as soon as one is returned, the scheduler may already have moved on.
Properties
IsProxy
Whether this metadata describes a proxy to a scheduler running elsewhere — e.g. an
HttpScheduler talking to a remote HTTP API — rather than the in-process instance.
When true, the values are the remote scheduler's, read over the wire.
public bool IsProxy { get; init; }
Property Value
JobStoreClustered
Whether the IScheduler's IJobStore is clustered.
public bool JobStoreClustered { get; init; }
Property Value
JobStorePersistent
Whether the IScheduler's IJobStore supports persistence.
public bool JobStorePersistent { get; init; }
Property Value
JobStoreTypeName
The assembly-qualified name (without version) of the IJobStore implementation the IScheduler uses.
public required string JobStoreTypeName { get; init; }
Property Value
JobsExecuted
The number of jobs executed since the IScheduler started.
public int JobsExecuted { get; init; }
Property Value
LocalExecutingJobs
The number of executions running on this node right now.
public int LocalExecutingJobs { get; init; }
Property Value
Remarks
Node-local, as the name says: it counts the executions this scheduler instance is hosting, and a clustered scheduler is running more than these elsewhere. Use QueryFireInstances(FireInstanceQuery, CancellationToken) for the cluster-wide count — the two numbers describe different things and will differ, which is why this one does not pretend otherwise.
RunningSince
The DateTimeOffset at which the scheduler started running, or null if it has not been started.
public DateTimeOffset? RunningSince { get; init; }
Property Value
SchedulerInstanceId
The instance id of the IScheduler.
public required string SchedulerInstanceId { get; init; }
Property Value
SchedulerName
The name of the IScheduler.
public required string SchedulerName { get; init; }
Property Value
SchedulerTypeName
The assembly-qualified name (without version) of the IScheduler implementation. A name rather than a Type, because for a proxy the type may live only in the remote process and could never be materialized here.
public required string SchedulerTypeName { get; init; }
Property Value
Status
Where the IScheduler is in its lifecycle.
public required SchedulerStatus Status { get; init; }
Property Value
Remarks
The same value as Status, derived the same way whether the scheduler is in this process or another one.
ThreadPoolSize
The number of threads in the IScheduler's thread pool.
public int ThreadPoolSize { get; init; }
Property Value
ThreadPoolTypeName
The assembly-qualified name (without version) of the thread pool implementation the IScheduler uses.
public required string ThreadPoolTypeName { get; init; }
Property Value
Version
The version of Quartz that is running.
public required string Version { get; init; }