Table of Contents

Constructor MailSynchronizationStatusReader

Namespace
MailFathom.Application.Synchronization.Administration
Assembly
MailFathom.Application.dll

MailSynchronizationStatusReader(IDeploymentMailAccountCatalog, IDeploymentMailFolders, MailSynchronizationRunLedger, IMailFolderSynchronizationProgressReader, IAttachmentDerivationCoverageReader, IWorkLeaseStore, ReplicaIdentity, AccessAuthorization)

Initializes a reader over the five sources one status answer is composed from.

public MailSynchronizationStatusReader(IDeploymentMailAccountCatalog accounts, IDeploymentMailFolders folders, MailSynchronizationRunLedger runLedger, IMailFolderSynchronizationProgressReader progressReader, IAttachmentDerivationCoverageReader attachmentCoverage, IWorkLeaseStore leases, ReplicaIdentity replica, AccessAuthorization authorization)

Parameters

accounts IDeploymentMailAccountCatalog

Names the accounts this deployment serves, and whether it synchronizes at all.

folders IDeploymentMailFolders

Names the folders configuration maps, and which of them are mirrored.

runLedger MailSynchronizationRunLedger

Reports what the running process's supervisors are doing.

progressReader IMailFolderSynchronizationProgressReader

Reports how far each folder's durable progress has come.

attachmentCoverage IAttachmentDerivationCoverageReader

Counts how far reading each account's attachments has come.

leases IWorkLeaseStore

Reports which replica is supervising each account, which is the half no process knows about itself.

replica ReplicaIdentity

Names the replica answering, which is what decides whether the ledger describes an account at all.

authorization AccessAuthorization

Answers which principal reached this use case.

Exceptions

ArgumentNullException

Thrown when any argument is null.