Table of Contents

Class MailAccountSupervisionScope

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

Names the lease one account's supervision is held under.

public static class MailAccountSupervisionScope
Inheritance
MailAccountSupervisionScope
Inherited Members

Remarks

Here rather than beside the worker that takes the lease, because two callers now compose it and they must not disagree: the coordinator asks for the scope before it starts a supervisor, and the administrative surface asks the lease table which replica is holding that same scope. A second spelling would report every account as unsupervised while every account was in fact being supervised.

The unit is the account's generated identifier and nothing beside it. The identifier names one mailbox across the deployment, and one mailbox is supervised once however many users are assigned it — a scope naming a user would have a shared mailbox supervised once per assignment, which is the same mailbox fetched several times over.

Methods

For(MailAccountId)

Composes the scope every replica configured with an account asks for.