Constructor EmbeddingProfileActivation
- Namespace
- MailFathom.Application.Emails.Embeddings.Generations
- Assembly
- MailFathom.Application.dll
EmbeddingProfileActivation(IEmbeddingGenerationStore, OptimisticConcurrencyRetryPolicy, EmbeddingBackfillSchedule)
Initializes a new activation.
public EmbeddingProfileActivation(IEmbeddingGenerationStore generationStore, OptimisticConcurrencyRetryPolicy concurrencyRetryPolicy, EmbeddingBackfillSchedule backfillSchedule)
Parameters
generationStoreIEmbeddingGenerationStoreReads which generations exist and registers the one being started.
concurrencyRetryPolicyOptimisticConcurrencyRetryPolicyCommits the registration, retrying a conflict with a competing writer.
backfillScheduleEmbeddingBackfillScheduleBrings the next upkeep pass forward once there is a generation for it to walk towards.
Exceptions
- ArgumentNullException
Thrown when any argument is null.