Interface DataStoreFactory


public interface DataStoreFactory
The DataStoreFactory can be used to create new or get existing DataStores. You can either create a global DataStore or a DataStore for a specific repository.

Call this to create a global DataStore:
dataStoreFactory.withType(PersistedType.class).withName("name").build();

To create a DataStore for a specific repository:
dataStoreFactory.withType(PersistedType.class).withName("name").forRepository(repository).build();
Since:
1.23