Table of Contents

Class ContentObjectReclamationBounds

Namespace
MailFathom.Infrastructure.ObjectStorage
Assembly
MailFathom.Infrastructure.dll

What one sweep of the bucket may reach, and what it must leave alone.

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

Remarks

The age floor is the whole difference between a reclamation and a race. An object is written before the unit of work that points at it commits, so between the two there is an object no row names and that nothing is wrong with; removing one would destroy mail the write was in the middle of storing. Nothing below the floor is touched whatever the reference check says, which makes the floor a correctness bound rather than a tuning knob — and a privacy-relevant setting besides, because it is part of how long mail whose record is gone can still exist as bytes.

The object ceiling bounds one attempt rather than the sweep. What it does not reach is handed to the segment after it, so raising it makes each attempt longer and lowering it makes the chain longer; neither changes what is eventually reclaimed.

Fields

ListingPageSize

How many keys one listing request asks for.

Properties

MaximumObjectsPerRun

Gets how many objects one run may examine before handing the rest to the run after it.

MinimumObjectAge

Gets the age below which an object is left alone however few rows point at it.

Methods

Create(TimeSpan, int)

Composes the bounds a deployment's configuration describes.