public interface TransactionalDataStore
Ordinarily, the only implementation of this interface is the default in-memory
implementation, which holds references to actual SDK data model objects. Any data store
implementation that uses an external store, such as a database, should instead use
PersistentDataStore.
Implementations must be thread-safe.
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
PersistentDataStore| Modifier and Type | Method and Description |
|---|---|
void |
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.
|
com.launchdarkly.sdk.fdv2.Selector |
getSelector()
Returns the selector for the currently stored data.
|
void apply(com.launchdarkly.sdk.fdv2.ChangeSet<java.lang.Iterable<java.util.Map.Entry<DataStoreTypes.DataKind,DataStoreTypes.KeyedItems<DataStoreTypes.ItemDescriptor>>>> changeSet)
changeSet - the changeset to applycom.launchdarkly.sdk.fdv2.Selector getSelector()