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 classEmbeddedStorageManager.Default -
Method Summary
Modifier and Type Method Description static EmbeddedStorageManager.DefaultNew(Database database, StorageConfiguration configuration, EmbeddedStorageConnectionFoundation<?> connectionFoundation, PersistenceRootsProvider<?> rootsProvider)EmbeddedStorageManagerstart()"Starts" the storage controlled by thisStorageControllerinstance, 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, storeAllMethods inherited from interface one.microstream.storage.types.StorageController
checkAcceptingTasks, close, initializationDuration, initializationTime, isAcceptingTasks, isRunning, isShutdown, isShuttingDown, isStartingUp, operationModeTimeMethods 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 thisStorageControllerinstance, 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:
startin interfaceStorageController- Specified by:
startin interfaceStorageManager- Returns:
- this to allow writing of fluent code.
-
New
static EmbeddedStorageManager.Default New(Database database, StorageConfiguration configuration, EmbeddedStorageConnectionFoundation<?> connectionFoundation, PersistenceRootsProvider<?> rootsProvider)
-