Skip to content

CustomStorageSiloBuilderExtensions Methods

Provides extensions for configuring custom-storage log consistency providers.

AddCustomStorageBasedLogConsistencyProvider(ISiloBuilder, string, string?)

staticextension
View source
public static ISiloBuilder AddCustomStorageBasedLogConsistencyProvider(this ISiloBuilder builder, string name = "LogStorage", string? primaryCluster = null)
Adds a named custom-storage log consistency provider.

Parameters

builderISiloBuilder
The silo builder.
namestring
The provider name.
primaryClusterstring?
The cluster identifier stored in the provider options and passed to each custom-storage adaptor. Custom-storage adaptors accept submissions from every cluster.

Returns

The silo builder.

AddCustomStorageBasedLogConsistencyProviderAsDefault(ISiloBuilder, string?)

staticextension
View source
public static ISiloBuilder AddCustomStorageBasedLogConsistencyProviderAsDefault(this ISiloBuilder builder, string? primaryCluster = null)
Adds a custom-storage log consistency provider as the default log consistency provider.

Parameters

builderISiloBuilder
The silo builder.
primaryClusterstring?
The cluster identifier stored in the provider options and passed to each custom-storage adaptor. Custom-storage adaptors accept submissions from every cluster.

Returns

The silo builder.