Table of Contents

Property SegmentCount

Namespace
MailFathom.Application.Mail.Maintenance
Assembly
MailFathom.Application.dll

SegmentCount

Gets how many segments of the run have been enqueued, which is also the key the next one is enqueued under.

public required int SegmentCount { get; init; }

Property Value

int

Remarks

One attempt carries as many bounded passes as it is given and hands the rest to a job of its own, so a run over a large mailbox is a chain of segments rather than one job held open for as long as the mailbox takes. The count is what makes each link's idempotency key its own: the same segment enqueued twice — by an attempt whose lease had already moved on, or by one whose completion was not recorded — is answered with the job that is already there.