public interface TransactionalDataSourceUpdateSink
DataSource will use to push data into the SDK transactionally.
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 DataSource implementations will receive an implementation of this
interface in the ClientContext.getDataSourceUpdateSink() property of ClientContext.
This interface is not stable, and not subject to any backwards compatibility guarantees or semantic versioning. It is in early access. If you want access to this feature please join the EAP. https://launchdarkly.com/docs/sdk/features/data-saving-mode
DataSource,
ClientContext| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(com.launchdarkly.sdk.fdv2.ChangeSet<java.lang.Iterable<java.util.Map.Entry<DataStoreTypes.DataKind,DataStoreTypes.KeyedItems<DataStoreTypes.ItemDescriptor>>>> changeSet)
Apply the given change set to the store.
|
boolean apply(com.launchdarkly.sdk.fdv2.ChangeSet<java.lang.Iterable<java.util.Map.Entry<DataStoreTypes.DataKind,DataStoreTypes.KeyedItems<DataStoreTypes.ItemDescriptor>>>> changeSet)
changeSet - the changeset to apply