Table of Contents

Constructor StoredMailRederivationRequests

Namespace
MailFathom.Application.Mail.Maintenance
Assembly
MailFathom.Application.dll

StoredMailRederivationRequests(IStoredMailRederivationRunStore, IJobStore, OptimisticConcurrencyRetryPolicy, TimeProvider, AccessAuthorization)

Initializes the request intake.

public StoredMailRederivationRequests(IStoredMailRederivationRunStore runStore, IJobStore jobs, OptimisticConcurrencyRetryPolicy commitPolicy, TimeProvider timeProvider, AccessAuthorization authorization)

Parameters

runStore IStoredMailRederivationRunStore

Reads whether a run is outstanding and records the one this request asks for.

jobs IJobStore

Enqueues the segment the run is on.

commitPolicy OptimisticConcurrencyRetryPolicy

Makes the read and the write one decision, and resolves a race with a competing request.

timeProvider TimeProvider

Stamps the request.

authorization AccessAuthorization

Answers which principal reached this use case.

Exceptions

ArgumentNullException

Thrown when a collaborator is null.