Class DataSystemBuilder
Configuration builder for the SDK's data acquisition and storage strategy.
Inherited Members
Namespace: LaunchDarkly.Sdk.Server.Integrations
Assembly: LaunchDarkly.ServerSdk.dll
Syntax
public sealed class DataSystemBuilder
Constructors
View SourceDataSystemBuilder()
Declaration
public DataSystemBuilder()
Methods
| Edit this page View SourceFDv1FallbackSynchronizer(IComponentConfigurer<IDataSource>)
Configured the FDv1 fallback synchronizer.
Declaration
public DataSystemBuilder FDv1FallbackSynchronizer(IComponentConfigurer<IDataSource> fdv1FallbackSynchronizer)
Parameters
| Type | Name | Description |
|---|---|---|
| IComponentConfigurer<IDataSource> | fdv1FallbackSynchronizer | the FDv1 fallback synchronizer |
Returns
| Type | Description |
|---|---|
| DataSystemBuilder | a reference to the builder |
Initializers(params IComponentConfigurer<IDataSource>[])
Add one or more initializers to the builder. To replace initializers, please refer to ReplaceInitializers(params IComponentConfigurer<IDataSource>[]).
Declaration
public DataSystemBuilder Initializers(params IComponentConfigurer<IDataSource>[] initializers)
Parameters
| Type | Name | Description |
|---|---|---|
| IComponentConfigurer<IDataSource>[] | initializers | the initializers to add |
Returns
| Type | Description |
|---|---|
| DataSystemBuilder | a reference to the builder |
PersistentStore(IComponentConfigurer<IDataStore>, DataStoreMode)
Configures the persistent data store.
Declaration
public DataSystemBuilder PersistentStore(IComponentConfigurer<IDataStore> persistentStore, DataSystemConfiguration.DataStoreMode mode)
Parameters
| Type | Name | Description |
|---|---|---|
| IComponentConfigurer<IDataStore> | persistentStore | the persistent data store |
| DataSystemConfiguration.DataStoreMode | mode | the mode for the persistent data store |
Returns
| Type | Description |
|---|---|
| DataSystemBuilder | a reference to the builder |
Remarks
The SDK will use the persistent data store to store feature flag data.
See Also
| Edit this page View SourceReplaceInitializers(params IComponentConfigurer<IDataSource>[])
Replaces any existing initializers with the given initializers. To add initializers, please refer to Initializers(params IComponentConfigurer<IDataSource>[]).
Declaration
public DataSystemBuilder ReplaceInitializers(params IComponentConfigurer<IDataSource>[] initializers)
Parameters
| Type | Name | Description |
|---|---|---|
| IComponentConfigurer<IDataSource>[] | initializers | the initializers to replace the current initializers with |
Returns
| Type | Description |
|---|---|
| DataSystemBuilder | a reference to this builder |
ReplaceSynchronizers(params IComponentConfigurer<IDataSource>[])
Replaces any existing synchronizers with the given synchronizers. To add synchronizers, please refer to Synchronizers(params IComponentConfigurer<IDataSource>[]).
Declaration
public DataSystemBuilder ReplaceSynchronizers(params IComponentConfigurer<IDataSource>[] synchronizers)
Parameters
| Type | Name | Description |
|---|---|---|
| IComponentConfigurer<IDataSource>[] | synchronizers | the synchronizers to replace the current synchronizers with |
Returns
| Type | Description |
|---|---|
| DataSystemBuilder | a reference to this builder |
Synchronizers(params IComponentConfigurer<IDataSource>[])
Add one or more synchronizers to the builder. To replace synchronizers, please refer to ReplaceSynchronizers(params IComponentConfigurer<IDataSource>[]).
Declaration
public DataSystemBuilder Synchronizers(params IComponentConfigurer<IDataSource>[] synchronizers)
Parameters
| Type | Name | Description |
|---|---|---|
| IComponentConfigurer<IDataSource>[] | synchronizers | the synchronizers to add |
Returns
| Type | Description |
|---|---|
| DataSystemBuilder | a reference to the builder |