Constructor MailboxContentVolume
- Namespace
- MailFathom.Application.Synchronization
- Assembly
- MailFathom.Application.dll
MailboxContentVolume(long, long, long, 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 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 now, which is what it occupied when the run began plus what the run wrote. It is the level a ceiling is compared against, so it is reported whether or not one is configured.
DeferredForStorageEmailCountintHow many occurrences were recorded without their content because 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.
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.