@ParametersAreNonnullByDefault public class InMemoryConfig extends BaseConfig<InMemoryConfig>
Config
that creates specific configuration for an InMemoryBackend
instance.
All features are all optional: configuration can be created using all or none of them.
BASE_PREFIX
Constructor and Description |
---|
InMemoryConfig()
Constructs a new
InMemoryConfig with default settings. |
Modifier and Type | Method and Description |
---|---|
void |
save(Path directory)
Saves this configuration in the
directory . |
addListener, addOption, addStore, autoSave, autoSave, cacheContainers, cacheFeatures, cacheMetaClasses, cacheSizes, createKey, getMapping, getName, getOptions, getStores, getVariant, isPersistentKey, isReadOnlyKey, log, log, merge, merge, readOnly, recordStats, setMapping, setMappingWithCheck, toMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exists, forName, forScheme, load
getOption, getOptions, hasOption, isReadOnly
public InMemoryConfig()
InMemoryConfig
with default settings.public void save(Path directory)
ImmutableConfig
directory
.save
in interface ImmutableConfig
save
in class BaseConfig<InMemoryConfig>
directory
- the directory where to store the configurationCopyright © 2013–2019 Atlanmod. All rights reserved.