Package one.microstream.storage.types
Interface StorageSystem
- All Superinterfaces:
AutoCloseable
,StorageActivePart
,StorageController
- All Known Implementing Classes:
StorageSystem.Default
public interface StorageSystem extends StorageController
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
StorageSystem.Default
-
Method Summary
Modifier and Type Method Description default StorageChannelCountProvider
channelCountProvider()
StorageConfiguration
configuration()
StorageRequestAcceptor
createRequestAcceptor()
default AFileSystem
fileSystem()
StorageIdAnalysis
initializationIdAnalysis()
StorageObjectIdRangeEvaluator
objectIdRangeEvaluator()
StorageOperationController
operationController()
boolean
shutdown()
Issues a command to shut down all active threads managing the storage.StorageSystem
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.StorageTypeDictionary
typeDictionary()
Methods inherited from interface one.microstream.storage.types.StorageController
checkAcceptingTasks, close, initializationDuration, initializationTime, isAcceptingTasks, isRunning, isShutdown, isShuttingDown, isStartingUp, operationModeTime
-
Method Details
-
createRequestAcceptor
StorageRequestAcceptor createRequestAcceptor() -
typeDictionary
StorageTypeDictionary typeDictionary() -
operationController
StorageOperationController operationController() -
channelCountProvider
-
configuration
StorageConfiguration configuration() -
fileSystem
-
start
StorageSystem start()Description copied from interface:StorageController
"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
- Returns:
- this to allow writing of fluent code.
-
initializationIdAnalysis
StorageIdAnalysis initializationIdAnalysis() -
shutdown
boolean shutdown()Description copied from interface:StorageController
Issues a command to shut down all active threads managing the storage.- Specified by:
shutdown
in interfaceStorageController
- Returns:
true
after a successful shutdown orfalse
if an internalInterruptedException
happened.
-
objectIdRangeEvaluator
StorageObjectIdRangeEvaluator objectIdRangeEvaluator()
-