@ParametersAreNonnullByDefault public class BerkeleyDbBackendFactory extends AbstractBackendFactory<BerkeleyDbConfig>
BackendFactory
that creates BerkeleyDbBackend
instances.Constructor and Description |
---|
BerkeleyDbBackendFactory()
Constructs a new
BerkeleyDbBackendFactory . |
Modifier and Type | Method and Description |
---|---|
protected Backend |
createLocalBackend(Path directory,
BerkeleyDbConfig config)
Creates a new file-based
Backend . |
createBackend, createRemoteBackend, name, supportsTransient
createMapper, createMapper
public BerkeleyDbBackendFactory()
BerkeleyDbBackendFactory
.@Nonnull protected Backend createLocalBackend(Path directory, BerkeleyDbConfig config) throws Exception
AbstractBackendFactory
Backend
.
By default, this method throws an UnsupportedOperationException
.
createLocalBackend
in class AbstractBackendFactory<BerkeleyDbConfig>
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.