Interface ITransactionalDataSourceUpdates
Interface that an implementation of IDataSource will use to push data into the SDK transactionally.
Namespace: LaunchDarkly.Sdk.Server.Subsystems
Assembly: LaunchDarkly.ServerSdk.dll
Syntax
public interface ITransactionalDataSourceUpdates
Remarks
The data source interacts with this object, rather than manipulating the data store directly, so that the SDK can perform any other necessary operations that must happen when data is updated. This object also provides a mechanism to report status changes.
Component factories for IDataSource implementations will receive an implementation of this interface in the DataSourceUpdates property of LdClientContext.
Methods
| Edit this page View SourceApply(ChangeSet<ItemDescriptor>)
Apply the given change set to the store. This should be done atomically if possible.
Declaration
bool Apply(DataStoreTypes.ChangeSet<DataStoreTypes.ItemDescriptor> changeSet)
Parameters
| Type | Name | Description |
|---|---|---|
| DataStoreTypes.ChangeSet<DataStoreTypes.ItemDescriptor> | changeSet | the changeset to apply |
Returns
| Type | Description |
|---|---|
| bool |