Table of Contents

Method Create

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

Create(TimeSpan, int)

Composes the bounds a deployment's configuration describes.

public static ContentObjectReclamationBounds Create(TimeSpan minimumObjectAge, int maximumObjectsPerRun)

Parameters

minimumObjectAge TimeSpan

The age below which an object is never reclaimed.

maximumObjectsPerRun int

How many objects one run may examine.

Returns

ContentObjectReclamationBounds

The composed bounds.

Remarks

Called only after configuration validation has passed, so what is left here is the floor beneath which the type itself would be unusable.

Exceptions

ArgumentOutOfRangeException

Thrown when the age is not positive or the ceiling is below one page.