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