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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StorageChannelCountProviderchannelCountProvider()StorageConfigurationconfiguration()StorageRequestAcceptorcreateRequestAcceptor()default one.microstream.afs.types.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.StorageActivePart
isActive
-
Methods inherited from interface one.microstream.storage.types.StorageController
checkAcceptingTasks, close, initializationDuration, initializationTime, isAcceptingTasks, isRunning, isShutdown, isShuttingDown, isStartingUp, operationModeTime
-
-
-
-
Method Detail
-
createRequestAcceptor
StorageRequestAcceptor createRequestAcceptor()
-
typeDictionary
StorageTypeDictionary typeDictionary()
-
operationController
StorageOperationController operationController()
-
channelCountProvider
default StorageChannelCountProvider channelCountProvider()
-
configuration
StorageConfiguration configuration()
-
fileSystem
default one.microstream.afs.types.AFileSystem 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()
-
-