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.
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