.NET API
JobQueueDepth
Tracon.Abstractions.dllThe number of open jobs in one lane/status pair.
public sealed record JobQueueDepth : IEquatable<JobQueueDepth>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”Returned by IJobStore.GetQueueDepthAsync and published through
the tracon.job.queue.depth observable gauge. Only the
open statuses are reported — JobStatus.Pending,
JobStatus.Leased, and JobStatus.Running. Terminal
statuses are counted by tracon.job.executions instead of by
scanning the table, which ties the cost of this query to the amount of
outstanding work rather than to the size of the queue’s history.
A pair with no open jobs is not reported; the absence of a row means zero.
Constructors
Section titled “Constructors”JobQueueDepth()
Section titled “ JobQueueDepth()”public JobQueueDepth()Properties
Section titled “Properties”The number of jobs in this lane and status.
public required long Count { get; init; }Property Value
Section titled “Property Value”The lane the jobs belong to. See JobLanes.
public required string Lane { get; init; }Property Value
Section titled “Property Value”Status
Section titled “ Status”The open status the jobs are in.
public required JobStatus Status { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(JobQueueDepth?)
Section titled “ Equals(JobQueueDepth?)”public bool Equals(JobQueueDepth? other)Parameters
Section titled “Parameters”other JobQueueDepth?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(JobQueueDepth?, JobQueueDepth?)
Section titled “ operator ==(JobQueueDepth?, JobQueueDepth?)”public static bool operator ==(JobQueueDepth? left, JobQueueDepth? right)Parameters
Section titled “Parameters”left JobQueueDepth?
right JobQueueDepth?
Returns
Section titled “Returns”operator !=(JobQueueDepth?, JobQueueDepth?)
Section titled “ operator !=(JobQueueDepth?, JobQueueDepth?)”public static bool operator !=(JobQueueDepth? left, JobQueueDepth? right)Parameters
Section titled “Parameters”left JobQueueDepth?
right JobQueueDepth?