Constructor MailSynchronizationStatusReader
- 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
accountsIDeploymentMailAccountCatalogNames the accounts this deployment serves, and whether it synchronizes at all.
foldersIDeploymentMailFoldersNames the folders configuration maps, and which of them are mirrored.
runLedgerMailSynchronizationRunLedgerReports what the running process's supervisors are doing.
progressReaderIMailFolderSynchronizationProgressReaderReports how far each folder's durable progress has come.
attachmentCoverageIAttachmentDerivationCoverageReaderCounts how far reading each account's attachments has come.
leasesIWorkLeaseStoreReports which replica is supervising each account, which is the half no process knows about itself.
replicaReplicaIdentityNames the replica answering, which is what decides whether the ledger describes an account at all.
authorizationAccessAuthorizationAnswers which principal reached this use case.
Exceptions
- ArgumentNullException
Thrown when any argument is null.