Constructor MailChunkingPass
- Namespace
- MailFathom.Application.Emails.Chunking
- Assembly
- MailFathom.Application.dll
MailChunkingPass(IStoredEmailChunkingStore, IEmailEmbeddingBacklog, IDerivedWorkGateTelemetry, OptimisticConcurrencyRetryPolicy)
Initializes the pass from the state it walks and the backlog it hands messages to.
public MailChunkingPass(IStoredEmailChunkingStore chunkingStore, IEmailEmbeddingBacklog embeddingBacklog, IDerivedWorkGateTelemetry gateTelemetry, OptimisticConcurrencyRetryPolicy commitPolicy)
Parameters
chunkingStoreIStoredEmailChunkingStoreReads what is awaiting the cut and performs it.
embeddingBacklogIEmailEmbeddingBacklogTakes each cut message on to the embedding worker.
gateTelemetryIDerivedWorkGateTelemetryReports which of the classification gate's answers let each message through.
commitPolicyOptimisticConcurrencyRetryPolicyCommits one message's passages, retrying a conflict with a competing writer.
Exceptions
- ArgumentNullException
Thrown when any argument is null.