Table of Contents

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

generationStore IEmbeddingGenerationStore

Reads which generations exist and registers the one being started.

concurrencyRetryPolicy OptimisticConcurrencyRetryPolicy

Commits the registration, retrying a conflict with a competing writer.

backfillSchedule EmbeddingBackfillSchedule

Brings the next upkeep pass forward once there is a generation for it to walk towards.

Exceptions

ArgumentNullException

Thrown when any argument is null.