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
IdJobScheduleIdThe schedule the pass decided about.
JobTypeJobTypeThe type of work the schedule repeats, which is what a measurement is broken down by.
OutcomeJobScheduleDispatchOutcomeWhat the pass did.
OccurrenceAtDateTimeOffset?The occasion the pass acted on, or null when it acted on none.
SkippedOccurrenceCountintHow 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.