Table of Contents

Constructor MailboxDrainReport

Namespace
MailFathom.Application.Synchronization.Drain
Assembly
MailFathom.Application.dll

MailboxDrainReport(int, int, IReadOnlyDictionary<MailboxDrainHoldBack, int>, IReadOnlyDictionary<MailboxDrainFailure, int>, int, bool)

What one drain pass did, and what the gate kept where it was.

public MailboxDrainReport(int DrainedCount, int RemovedErasedCount, IReadOnlyDictionary<MailboxDrainHoldBack, int> HeldBack, IReadOnlyDictionary<MailboxDrainFailure, int> FailedBatches, int AbandonedBatchCount, bool SourceCannotBeDrained = false)

Parameters

DrainedCount int

Messages the source no longer holds because this pass removed them.

RemovedErasedCount int

Messages erased locally whose source copy this pass removed.

HeldBack IReadOnlyDictionary<MailboxDrainHoldBack, int>

How many messages each reason kept on the source, with reasons that kept none absent.

FailedBatches IReadOnlyDictionary<MailboxDrainFailure, int>

How many batches each kind of failure cost, with kinds that cost none absent. Every one of them is attempted again by the next ordinary run.

AbandonedBatchCount int

Batches abandoned before a command went out because the folder reported another UIDVALIDITY.

SourceCannotBeDrained bool

Whether the account was left mirroring its source because that source advertises no message-scoped expunge.

Remarks

Counts only. What a pass did to somebody's mailbox is reported as figures an operator reads and a metric records, never as a list of messages: a subject, an address, or a folder path in this answer would put mail content into a log line about storage.