Table of Contents

Class JobScheduleDispatch

Namespace
MailFathom.Application.Jobs.Scheduling
Assembly
MailFathom.Application.dll

What one pass decided about one schedule, and what it passed over deciding it.

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

Remarks

SkippedOccurrenceCount is the part that has to be reported rather than inferred. A process that was down over several occasions dispatches the most recent one and nothing else, so without this count a burst that was deliberately not run would be indistinguishable from a schedule that ran exactly as declared.

Constructors

JobScheduleDispatch(JobScheduleId, JobType, JobScheduleDispatchOutcome, DateTimeOffset?, int)

What one pass decided about one schedule, and what it passed over deciding it.

Properties

Id

The schedule the pass decided about.

JobType

The type of work the schedule repeats, which is what a measurement is broken down by.

OccurrenceAt

The occasion the pass acted on, or null when it acted on none.

Outcome

What the pass did.

SkippedOccurrenceCount

How many occasions this pass passed over, which is zero for a schedule that has kept up.