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 classStorageSystem.Default -
Method Summary
Modifier and Type Method Description default StorageChannelCountProviderchannelCountProvider()StorageConfigurationconfiguration()StorageRequestAcceptorcreateRequestAcceptor()default AFileSystemfileSystem()StorageIdAnalysisinitializationIdAnalysis()StorageObjectIdRangeEvaluatorobjectIdRangeEvaluator()StorageOperationControlleroperationController()booleanshutdown()Issues a command to shut down all active threads managing the storage.StorageSystemstart()"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.StorageTypeDictionarytypeDictionary()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 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- Returns:
- this to allow writing of fluent code.
-
initializationIdAnalysis
StorageIdAnalysis initializationIdAnalysis() -
shutdown
boolean shutdown()Description copied from interface:StorageControllerIssues a command to shut down all active threads managing the storage.- Specified by:
shutdownin interfaceStorageController- Returns:
trueafter a successful shutdown orfalseif an internalInterruptedExceptionhappened.
-
objectIdRangeEvaluator
StorageObjectIdRangeEvaluator objectIdRangeEvaluator()
-