Skip to content

AzureBlobJournalStorageOptions

class

Namespace: Orleans.Journaling

Options for configuring the Azure Blob state storage provider.
public sealed class AzureBlobJournalStorageOptions

Constructors

Properties

  • BlobServiceClient Gets or sets the client used to access the Azure Blob Service.
  • BuildContainerFactory A function for building container factory instances.
  • ClientOptions Options to be used when configuring the blob storage client, or null to use the default options.
  • ContainerName Container name where state is stored.
  • DeleteOldCheckpoints Gets or sets a value indicating whether obsolete checkpoint blobs are deleted after a new checkpoint is published. Defaults to true.
  • GetCheckpointBlobName Gets or sets the delegate used to generate the checkpoint blob name for a journal snapshot.
  • GetWalBlobName Gets or sets the delegate used to generate the write-ahead log blob name for a journal.
  • MaxMetadataOnlyConflictRetries Gets or sets the maximum number of times a journaling Append, Replace, or Delete operation will refresh its cached WAL ETag and retry in place after observing a metadata-only ETag conflict (for example, a concurrent caller-owned metadata update or generation bump). When the cap is exceeded the storage layer falls back to throwing InconsistentStateException and the journaling layer recovers before retrying. Defaults to 5.
  • MetadataOnlyConflictInitialBackoff Gets or sets the initial delay applied before re-trying after a metadata-only ETag conflict. Subsequent attempts double the delay (capped at AzureBlobJournalStorageOptions). Set to System.TimeSpan.Zero to retry immediately without backoff. Defaults to 10 ms.
  • MetadataOnlyConflictMaxBackoff Gets or sets the upper bound on the per-attempt backoff used by metadata-only conflict retries. The exponential schedule starts at AzureBlobJournalStorageOptions and never exceeds this value. Defaults to 200 ms.

Methods

Fields