@ParametersAreNonnullByDefault public final class StoreFactory extends Object
Store.| Modifier and Type | Method and Description |
|---|---|
Store |
createStore(Backend backend,
ImmutableConfig baseConfig)
|
static StoreFactory |
getInstance()
Returns the instance of this class.
|
@Nonnull public static StoreFactory getInstance()
@Nonnull public Store createStore(Backend backend, ImmutableConfig baseConfig)
backend - the back-end where to store databaseConfig - the configuration that defines the behaviour of the storeNullPointerException - if the store or the baseConfig are nullInvalidStoreException - if an error occurs during the creation of the storeCopyright © 2013–2019 Atlanmod. All rights reserved.