Interface DataStoreFactory
-
- All Known Implementing Classes:
PersistentDataStoreBuilder
public interface DataStoreFactory
Interface for a factory that creates some implementation ofDataStore
.- Since:
- 4.11.0
- See Also:
Components
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataStore
createDataStore(ClientContext context, DataStoreUpdates dataStoreUpdates)
Creates an implementation instance.
-
-
-
Method Detail
-
createDataStore
DataStore createDataStore(ClientContext context, DataStoreUpdates dataStoreUpdates)
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
-
-