Constructor MailboxContentVolume
- Namespace
- MailFathom.Application.Synchronization
- Assembly
- MailFathom.Application.dll
MailboxContentVolume(long, long, long, int, int, int, bool)
States how much mail content one folder run moved and which of its limits it reached.
public MailboxContentVolume(long FetchedBytes, long StoredBytes, long StoredContentBytes, int DeferredForStorageEmailCount, int DeferredForUserStorageEmailCount, int RefilledEmailCount, bool StoppedForContentBudget)
Parameters
FetchedByteslongHow many raw MIME bytes the run read from the mail server.
StoredByteslongHow many of those bytes reached local content storage.
StoredContentByteslongHow much local storage the stored content occupies, measured as the run ends. It is the operator's reading of the quantity a ceiling is set against rather than a figure any decision was taken from, so it is reported whether or not a ceiling is configured.
DeferredForStorageEmailCountintHow many occurrences were recorded without their content because the deployment's storage had reached its ceiling. They are counted apart from the oversized ones because the two have opposite futures: this one is fetched by a later run.
DeferredForUserStorageEmailCountintHow many were recorded without their content because the user this folder belongs to had reached theirs, while the deployment still had room. Counted apart from the deployment's for the reason that one is counted apart from the oversized: the two ask an operator for different things, and only this one leaves every other user's mail arriving whole.
RefilledEmailCountintHow many occurrences deferred by an earlier run had their content fetched by this one.
StoppedForContentBudgetboolWhether the run ended because it had spent the bytes it was allowed to fetch, rather than because the folder held nothing more. It is reported beside the count of remaining emails rather than folded into it, because the two ask the operator for different things: more mail to discover is ordinary, and a run that keeps stopping for its budget is a budget to raise.
Remarks
The record carries counts and byte totals only. Which emails they were is not part of it, because a run's volume is an operational measurement and naming its messages would make one out of mail content.