AzureTableJournalStorageOptions
class
Namespace: Orleans.Journaling
Options for configuring the Azure Table journal storage provider.
public sealed class AzureTableJournalStorageOptionsConstructors
Properties
ClientOptionsOptions to be used when configuring the table storage client, ornullto use the default options.CompactionRowCountThresholdGets or sets the number of data rows written since the last replace operation at whichIJournalStoragebecomes true. Defaults to 10,000.CompactionSizeThresholdGets or sets the number of journal bytes written since the last replace operation at whichIJournalStoragebecomes true. Defaults to 32 MiB.DeleteOldGenerationsGets or sets a value indicating whether rows belonging to the previous journal generation are deleted after a replace operation publishes a new generation. Defaults to true.GetPartitionKeyGets or sets the delegate used to generate the table partition key for a journal.MaxMetadataOnlyConflictRetriesGets or sets the maximum number of times a journaling Append, Replace, or Delete operation will refresh its cached header ETag and retry in place after observing a metadata-only ETag conflict (for example, a concurrent caller-owned metadata update). 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 atAzureTableJournalStorageOptions). 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 atAzureTableJournalStorageOptionsand never exceeds this value. Defaults to 200 ms.TableNameTable name where journal data is stored.TableServiceClientGets or sets the client used to access the Azure Table Service.
Methods
ConfigureTableServiceClient(Func<CancellationToken, Task<TableServiceClient>>)Configures theAzureTableJournalStorageOptionsusing the provided callback.ConfigureTableServiceClient(Uri)Configures theAzureTableJournalStorageOptionsusing an authenticated service URI.ConfigureTableServiceClient(Uri, AzureSasCredential)Configures theAzureTableJournalStorageOptionsusing an authenticated service URI and aAzure.AzureSasCredential.ConfigureTableServiceClient(Uri, TableSharedKeyCredential)Configures theAzureTableJournalStorageOptionsusing an authenticated service URI and aAzure.Data.Tables.TableSharedKeyCredential.ConfigureTableServiceClient(Uri, TokenCredential)Configures theAzureTableJournalStorageOptionsusing an authenticated service URI and aAzure.Core.TokenCredential.ConfigureTableServiceClient(string)Configures theAzureTableJournalStorageOptionsusing a connection string.
