Table of Contents

Method Settle

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

Settle(long)

Keeps room for what was actually stored and gives back the rest.

public void Settle(long storedBytes)

Parameters

storedBytes long

How many bytes reached local storage.

Remarks

A payload larger than the claim keeps the whole claim and nothing more: the extra bytes are past the ceiling by definition, and taking them back out of a level the next measurement is about to correct anyway would report a deployment as having room it does not have.

Exceptions

ArgumentOutOfRangeException

Thrown when storedBytes is negative.