Class StoredEmailExtractionBackfillResult
- Namespace
- MailFathom.Application.Emails.Extraction
- Assembly
- MailFathom.Application.dll
Summarizes one bounded run of the extraction backfill.
public sealed record StoredEmailExtractionBackfillResult : IEquatable<StoredEmailExtractionBackfillResult>
- Inheritance
-
StoredEmailExtractionBackfillResult
- Implements
- Inherited Members
Remarks
Every field is a count. Nothing derived from a message — no subject, address, or fragment of body text — belongs in a result a worker logs.
The backlog and the remaining flag answer different questions and neither replaces the other: the flag is whether the worker has more to do, which is what decides its next interval, and the backlog is how much, which is what answers whether the walk is converging. The two disagree at the end of a backfill and are both right: a message no reader can parse, and one whose raw MIME is no longer there, never gain an extraction, so they stay in the backlog while the flag says there is nothing left to attempt.
Constructors
- StoredEmailExtractionBackfillResult(int, int, int, int, bool)
Summarizes one bounded run of the extraction backfill.
Properties
- EmailsRemain
Whether emails still await extraction after this run's batch budget was spent.
- ExtractedEmailCount
How many stored emails were re-read and had their metadata and text written.
- MissingContentEmailCount
How many stored emails no longer had raw MIME to re-read.
- OutstandingEmailCount
How many stored emails still awaited extraction when this run ended.
- UnreadableEmailCount
How many stored emails carried MIME no reader could parse, which the run stepped over.