Class JobStatistics
- Namespace
- Millrace.Storage.Monitoring
- Assembly
- Millrace.dll
Aggregate counts for the dashboard overview.
public sealed record JobStatistics : IEquatable<JobStatistics>
- Inheritance
-
JobStatistics
- Implements
- Inherited Members
Remarks
This is the only place counts come from. ยง11.12 removed totals from list responses because counting a filtered, continuously-changing job table is the expensive part of the query; concentrating aggregates here lets a provider maintain or approximate them cheaply instead of paying for a count on every page render.
Properties
- EnqueuedByQueue
Claimable depth per queue: Enqueued jobs only. Queues with no claimable work MAY be omitted โ a queue is not a persistent entity, so there is no complete set to enumerate.
- InstancesByState
Workflow instance count per state, with the same completeness rule as JobsByState.
- JobsByState
Job count per state. Providers MUST include an entry for every JobState, using zero rather than omission, so callers never distinguish "none" from "not reported".
- OverdueRecurringDefinitions
Recurring definitions whose next fire time is already in the past โ the scheduler is behind, or nothing is running the scheduler role at all.
- RecurringDefinitions
Number of recurring definitions registered.