AzureBlobJournalStorageOptions
class
Namespace: Orleans.Journaling
Options for configuring the Azure Blob state storage provider.
public sealed class AzureBlobJournalStorageOptionsConstructors
Properties
BlobServiceClientGets or sets the client used to access the Azure Blob Service.BuildContainerFactoryA function for building container factory instances.ClientOptionsOptions to be used when configuring the blob storage client, ornullto use the default options.ContainerNameContainer name where state is stored.DeleteOldCheckpointsGets or sets a value indicating whether obsolete checkpoint blobs are deleted after a new checkpoint is published. Defaults to true.GetCheckpointBlobNameGets or sets the delegate used to generate the checkpoint blob name for a journal snapshot.GetWalBlobNameGets or sets the delegate used to generate the write-ahead log blob name for a journal.MaxMetadataOnlyConflictRetriesGets 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 throwingInconsistentStateExceptionand the journaling layer recovers before retrying. Defaults to 5.MetadataOnlyConflictInitialBackoffGets or sets the initial delay applied before re-trying after a metadata-only ETag conflict. Subsequent attempts double the delay (capped atAzureBlobJournalStorageOptions). Set toSystem.TimeSpan.Zeroto retry immediately without backoff. Defaults to 10 ms.MetadataOnlyConflictMaxBackoffGets or sets the upper bound on the per-attempt backoff used by metadata-only conflict retries. The exponential schedule starts atAzureBlobJournalStorageOptionsand never exceeds this value. Defaults to 200 ms.
Methods
ConfigureBlobServiceClient(Func<CancellationToken, Task<BlobServiceClient>>)Configures theAzureBlobJournalStorageOptionsusing the provided callback.ConfigureBlobServiceClient(Uri)Configures theAzureBlobJournalStorageOptionsusing an authenticated service URI.ConfigureBlobServiceClient(Uri, AzureSasCredential)Configures theAzureBlobJournalStorageOptionsusing an authenticated service URI and aAzure.AzureSasCredential.ConfigureBlobServiceClient(Uri, StorageSharedKeyCredential)Configures theAzureBlobJournalStorageOptionsusing an authenticated service URI and aAzure.Storage.StorageSharedKeyCredential.ConfigureBlobServiceClient(Uri, TokenCredential)Configures theAzureBlobJournalStorageOptionsusing an authenticated service URI and aAzure.Core.TokenCredential.ConfigureBlobServiceClient(string)Configures theAzureBlobJournalStorageOptionsusing a connection string.
