Constructor MailboxRestoreReport
- Namespace
- MailFathom.Application.Synchronization.Restore
- Assembly
- MailFathom.Application.dll
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.
public MailboxRestoreReport(int AppendedCount, int StateWrittenCount, int UnansweredAppendCount, IReadOnlyDictionary<MailboxRestoreFailure, int> Failures, MailboxRestorePause Pause = MailboxRestorePause.None, bool EndedTheRestore = false)
Parameters
AppendedCountintMessages this pass wrote the occurrence of, whichever pass issued the append that put them back.
StateWrittenCountintMessages whose local state this pass wrote down for the converger to carry.
UnansweredAppendCountintAppends whose outcome this pass left unknown, whichever pass issued them, each of which now holds the account in its phase.
FailuresIReadOnlyDictionary<MailboxRestoreFailure, int>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.
PauseMailboxRestorePauseWhat is holding the restore up, or None where nothing is.
EndedTheRestoreboolWhether this pass was the one that put the account back to mirroring its source.
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.