Interface DataStoreFactory
- All Known Implementing Classes:
PersistentDataStoreBuilder
public interface DataStoreFactory
Interface for a factory that creates some implementation of
DataStore
.- Since:
- 4.11.0
- See Also:
Components
-
Method Summary
Modifier and Type Method Description DataStore
createDataStore(ClientContext context, DataStoreUpdates dataStoreUpdates)
Creates an implementation instance.
-
Method Details
-
createDataStore
Creates an implementation instance.- Parameters:
context
- allows access to the client configurationdataStoreUpdates
- the data store can use this object to report information back to the SDK if desired- Returns:
- a
DataStore
-