public class MapDbOptionsBuilder extends AbstractPersistenceOptionsBuilder<MapDbOptionsBuilder,MapDbOptions>
PersistenceOptionsBuilder that creates MapDB specific options.
All features are all optional: options can be created using all or none of them.
| Modifier | Constructor and Description |
|---|---|
protected |
MapDbOptionsBuilder()
Constructs a new
MapDbOptionsBuilder. |
| Modifier and Type | Method and Description |
|---|---|
MapDbOptionsBuilder |
autocommit()
Adds the
autocommit feature in the created options. |
MapDbOptionsBuilder |
directWrite()
Adds the
direct-write feature in the created options. |
MapDbOptionsBuilder |
directWriteCacheMany()
Adds the
direct-write-cache-many feature in the created options. |
MapDbOptionsBuilder |
directWriteIndices()
Adds the
direct-write-with-indices feature in the created options. |
MapDbOptionsBuilder |
directWriteLists()
Adds the
direct-write-with-lists feature in the created options. |
static MapDbOptionsBuilder |
newBuilder()
Creates a new
MapDbOptionsBuilder. |
asMap, cacheFeatures, cacheIsSet, cacheSizes, countLoadedObjects, log, noOption, option, storeOption, validateprotected MapDbOptionsBuilder()
MapDbOptionsBuilder.
This constructor is protected for API consistency purpose, to create a new builder use newBuilder().
@Nonnull public static MapDbOptionsBuilder newBuilder()
MapDbOptionsBuilder.@Nonnull public MapDbOptionsBuilder autocommit()
autocommit feature in the created options.MapDbStoreOptions.AUTOCOMMIT,
AutocommitStoreDecorator@Nonnull public MapDbOptionsBuilder directWrite()
direct-write feature in the created options.MapDbStoreOptions.DIRECT_WRITE,
DirectWriteMapDbStore@Nonnull public MapDbOptionsBuilder directWriteLists()
direct-write-with-lists feature in the created options.MapDbStoreOptions.DIRECT_WRITE_LISTS,
DirectWriteMapDbListsStore@Nonnull public MapDbOptionsBuilder directWriteIndices()
direct-write-with-indices feature in the created options.MapDbStoreOptions.DIRECT_WRITE_INDICES,
DirectWriteMapDbIndicesStore@Nonnull public MapDbOptionsBuilder directWriteCacheMany()
direct-write-cache-many feature in the created options.MapDbStoreOptions.CACHE_MANY,
DirectWriteMapDbCacheManyStoreCopyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.