@ParametersAreNonnullByDefault public class MapDbBackendFactory extends AbstractBackendFactory<MapDbConfig>
BackendFactory that creates MapDbBackend instances.| Constructor and Description |
|---|
MapDbBackendFactory()
Constructs a new
MapDbBackendFactory. |
| Modifier and Type | Method and Description |
|---|---|
protected Backend |
createLocalBackend(Path directory,
MapDbConfig config)
Creates a new file-based
Backend. |
createBackend, createRemoteBackend, name, supportsTransientcreateMapper, createMapperpublic MapDbBackendFactory()
MapDbBackendFactory.@Nonnull protected Backend createLocalBackend(Path directory, MapDbConfig config) throws Exception
AbstractBackendFactoryBackend.
By default, this method throws an UnsupportedOperationException.
createLocalBackend in class AbstractBackendFactory<MapDbConfig>directory - the file path where to store the databaseconfig - the configuration that defines the behaviour of the back-endException - if an error occurs during the back-end initializationCopyright © 2013–2019 Atlanmod. All rights reserved.