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
runStoreIStoredMailRederivationRunStoreReads whether a run is outstanding and records the one this request asks for.
jobsIJobStoreEnqueues the segment the run is on.
commitPolicyOptimisticConcurrencyRetryPolicyMakes the read and the write one decision, and resolves a race with a competing request.
timeProviderTimeProviderStamps the request.
authorizationAccessAuthorizationAnswers which principal reached this use case.
Exceptions
- ArgumentNullException
Thrown when a collaborator is null.