Package one.microstream.storage.types
Interface EmbeddedStorageManager
- All Superinterfaces:
AutoCloseable
,DatabasePart
,ObjectSwizzling
,PersistenceStoring
,Persister
,StorageActivePart
,StorageConnection
,StorageController
,StorageManager
- All Known Implementing Classes:
EmbeddedStorageManager.Default
public interface EmbeddedStorageManager extends StorageManager
StorageManager
sub type for usage as an embedded storage solution."Embedded" is meant in the context that a database is managed in the same process that uses this database, as opposed to the database being managed by a different process that the using process connects to via network communication. That would be a "remote" or "standalone" storage process.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
EmbeddedStorageManager.Default
-
Method Summary
Modifier and Type Method Description static EmbeddedStorageManager.Default
New(Database database, StorageConfiguration configuration, EmbeddedStorageConnectionFoundation<?> connectionFoundation, PersistenceRootsProvider<?> rootsProvider)
EmbeddedStorageManager
start()
"Starts" the storage controlled by thisStorageController
instance, with "starting" meaning:
Reading, indexing and potentially caching all the persisted data in the storage. Starting storage managing threads to execute requests like storing, loading and issued utility functions.Methods inherited from interface one.microstream.storage.types.StorageConnection
createEagerStorer, createLazyStorer, createStorageStatistics, createStorer, exportChannels, exportChannels, exportTypes, exportTypes, getObject, importFiles, issueCacheCheck, issueCacheCheck, issueFileCheck, issueFullCacheCheck, issueFullCacheCheck, issueFullFileCheck, issueFullGarbageCollection, issueGarbageCollection, persistenceManager, store, storeAll, storeAll
Methods inherited from interface one.microstream.storage.types.StorageController
checkAcceptingTasks, close, initializationDuration, initializationTime, isAcceptingTasks, isRunning, isShutdown, isShuttingDown, isStartingUp, operationModeTime
Methods inherited from interface one.microstream.storage.types.StorageManager
configuration, createConnection, customRoot, database, databaseName, defaultRoot, root, setRoot, shutdown, storeDefaultRoot, storeRoot, typeDictionary, viewRoots
-
Method Details
-
start
EmbeddedStorageManager start()Description copied from interface:StorageManager
"Starts" the storage controlled by thisStorageController
instance, with "starting" meaning:
- Reading, indexing and potentially caching all the persisted data in the storage.
- Starting storage managing threads to execute requests like storing, loading and issued utility functions.
- Specified by:
start
in interfaceStorageController
- Specified by:
start
in interfaceStorageManager
- Returns:
- this to allow writing of fluent code.
-
New
static EmbeddedStorageManager.Default New(Database database, StorageConfiguration configuration, EmbeddedStorageConnectionFoundation<?> connectionFoundation, PersistenceRootsProvider<?> rootsProvider)
-