Table of Contents

Class ContentObjectReclamationRun

Namespace
MailFathom.Application.EmailContent.Storage.Reclamation
Assembly
MailFathom.Application.dll

What one bounded run of the reclamation examined, freed, and left behind.

public sealed record ContentObjectReclamationRun : IEquatable<ContentObjectReclamationRun>
Inheritance
ContentObjectReclamationRun
Implements
Inherited Members

Remarks

Counts and volumes rather than keys. A key names one message, so a result an operator, a log, or a job record could meet carries how much was reclaimed and never what — the one exception being ResumeFrom, which names a position in a listing because a run that stops has to say where the next one begins.

ResumeFrom is what makes the work resumable rather than merely repeatable. A run bounded by its own object ceiling, by the attempt's execution timeout, or by a shutdown stops with mail still ahead of it, and the run that carries the rest starts where this one stopped instead of listing the whole bucket again.

Properties

ExaminedCount

Gets how many objects the run looked at, whether or not it removed them.

FailedCount

Gets how many objects the endpoint refused to remove, each left for a later run.

None

Gets the run that has examined nothing, which is what a sweep accumulates onto as it reads its pages.

ObjectsRemain

Gets whether objects the run did not reach are still ahead of it.

OldestOrphanAge

Gets how old the oldest object nothing pointed at was, or Zero when the run met none.

ReclaimedBytes

Gets how many bytes those objects held.

ReclaimedCount

Gets how many objects the run removed because no row pointed at them.

ResumeFrom

Gets the position the next run continues the listing from, or null when this one reached its end.