Table of Contents

Class MailboxRestoreReport

Namespace
MailFathom.Application.Synchronization.Restore
Assembly
MailFathom.Application.dll

What one restore pass put back onto a source, and what stopped the rest of it.

public sealed record MailboxRestoreReport : IEquatable<MailboxRestoreReport>
Inheritance
MailboxRestoreReport
Implements
Inherited Members

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 custody.

Two of the counts are the pass's own work rather than the pass's own appends. A pass begins by finishing the placements an interrupted one recorded, so a run that issued no command at all can report a dozen messages back on the source and one whose outcome it could not settle. What the counts add up to across passes is each message once, which is what an operator reading a total needs; what they do not say is which pass the command went out in.

Constructors

MailboxRestoreReport(int, int, int, IReadOnlyDictionary<MailboxRestoreFailure, int>, MailboxRestorePause, bool)

What one restore pass put back onto a source, and what stopped the rest of it.

Properties

AppendedCount

Messages this pass wrote the occurrence of, whichever pass issued the append that put them back.

EndedTheRestore

Whether this pass was the one that put the account back to mirroring its source.

Failed

Gets whether the pass failed at least one message, however the failure ended for that message.

FailedCount

Gets how many messages failed, however they failed.

Failures

How many messages each kind of failure cost, with kinds that cost none absent. A message is attempted again only where the pass recorded nothing for it.

Nothing

The report of a pass that had nothing to do, which is what an account not restoring produces.

Pause

What is holding the restore up, or None where nothing is.

StateWrittenCount

Messages whose local state this pass wrote down for the converger to carry.

UnansweredAppendCount

Appends whose outcome this pass left unknown, whichever pass issued them, each of which now holds the account in its phase.

Methods

HeldUpBy(MailboxRestorePause)

Builds the report of a pass that was held up before it attempted anything.