Table of Contents

Interface IStoredMailRederivationRunStore

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

Keeps the one re-derivation run a scope may have, from the request that asked for it to the counts it ended with.

public interface IStoredMailRederivationRunStore

Remarks

Separate from IStoredMailRederivationStore, which is the walk's own cursor over stored mail. The two answer different questions and have different lifetimes: the cursor exists only while a scope is part-walked and is cleared when the walk reaches the end, while the run survives its own ending so that an operator asking afterwards reads what it found rather than silence.

Methods

FindAsync(StoredMailScope, CancellationToken)

Reads the run this scope last had, whether it is still outstanding or has ended.

SaveAsync(IPersistenceSession, StoredMailRederivationRun, CancellationToken)

Stages a run — a request, a segment's progress, or its ending — in the session it commits through.