Table of Contents

Constructor JobScheduleDispatch

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

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

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

public JobScheduleDispatch(JobScheduleId Id, JobType JobType, JobScheduleDispatchOutcome Outcome, DateTimeOffset? OccurrenceAt, int SkippedOccurrenceCount)

Parameters

Id JobScheduleId

The schedule the pass decided about.

JobType JobType

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

Outcome JobScheduleDispatchOutcome

What the pass did.

OccurrenceAt DateTimeOffset?

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

SkippedOccurrenceCount int

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

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.