public interface StorageController extends StorageActivePart, AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
checkAcceptingTasks() |
default void |
close() |
default long |
initializationDuration() |
long |
initializationTime() |
boolean |
isAcceptingTasks() |
boolean |
isRunning() |
default boolean |
isShutdown() |
boolean |
isShuttingDown() |
boolean |
isStartingUp() |
long |
operationModeTime() |
boolean |
shutdown()
Issues a command to shut down all active threads managing the storage.
|
StorageController |
start()
"Starts" the storage controlled by this
StorageController 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. |
isActiveStorageController start()
StorageController instance, with "starting" meaning:boolean shutdown()
true after a successful shutdown or false
if an internal InterruptedException happened.boolean isAcceptingTasks()
boolean isRunning()
boolean isStartingUp()
boolean isShuttingDown()
default boolean isShutdown()
void checkAcceptingTasks()
long initializationTime()
long operationModeTime()
default long initializationDuration()
default void close()
throws StorageExceptionShutdown
close in interface AutoCloseableStorageExceptionShutdownCopyright © 2022 MicroStream Software. All rights reserved.