Package one.microstream.storage.types
Interface StorageManager
-
- All Superinterfaces:
AutoCloseable,ObjectSwizzling,PersistenceStoring,Persister,StorageActivePart,StorageConnection,StorageController
- All Known Subinterfaces:
EmbeddedStorageManager
- All Known Implementing Classes:
EmbeddedStorageManager.Default
public interface StorageManager extends StorageController, StorageConnection
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageConnection
StorageConnection.Default
-
-
Method Summary
Modifier and Type Method Description StorageConfigurationconfiguration()StorageConnectioncreateConnection()default ObjectcustomRoot()Deprecated.Reference<Object>defaultRoot()Deprecated.voidinitialize()Objectroot()ObjectsetRoot(Object newRoot)booleanshutdown()StorageManagerstart()default longstoreDefaultRoot()Deprecated.longstoreRoot()StorageTypeDictionarytypeDictionary()PersistenceRootsViewviewRoots()-
Methods inherited from interface one.microstream.storage.types.StorageActivePart
isActive
-
Methods inherited from interface one.microstream.storage.types.StorageConnection
createEagerStorer, createLazyStorer, createStorageStatistics, createStorer, exportChannels, exportChannels, exportTypes, exportTypes, getObject, importFiles, issueCacheCheck, issueCacheCheck, issueFileCheck, issueFileCheck, issueFullCacheCheck, issueFullCacheCheck, issueFullFileCheck, 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
-
-
-
-
Method Detail
-
typeDictionary
StorageTypeDictionary typeDictionary()
-
createConnection
StorageConnection createConnection()
-
configuration
StorageConfiguration configuration()
-
initialize
void initialize()
-
start
StorageManager start()
- Specified by:
startin interfaceStorageController
-
shutdown
boolean shutdown()
- Specified by:
shutdownin interfaceStorageController
-
root
Object root()
- Returns:
- the persistent object graph's root object.
-
storeRoot
long storeRoot()
-
viewRoots
PersistenceRootsView viewRoots()
-
defaultRoot
@Deprecated Reference<Object> defaultRoot()
Deprecated.This method is deprecated due to simplified root handling and will be removed in a future version.
It is advised to useroot()andsetRoot(Object)instead.- Returns:
- a mutable
Referenceto the root object.
-
customRoot
@Deprecated default Object customRoot()
Deprecated.This method is deprecated due to simplified root handling and will be removed in a future version.
It is advised to useroot()instead, for which this method is an alias.- Returns:
- the root object.
-
storeDefaultRoot
@Deprecated default long storeDefaultRoot()
Deprecated.This method is deprecated due to simplified root handling and will be removed in a future version.
It is advised to usestoreRoot()instead, for which this method is an alias.- Returns:
- stores the root object and returns its objectId.
-
-