Interface StorageController

    • Method Detail

      • start

        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.
        Returns:
        this to allow writing of fluent code.
      • shutdown

        boolean shutdown()
        Issues a command to shut down all active threads managing the storage.
        Returns:
        true after a successful shutdown or false if an internal InterruptedException happened.
      • isAcceptingTasks

        boolean isAcceptingTasks()
      • isRunning

        boolean isRunning()
      • isStartingUp

        boolean isStartingUp()
      • isShuttingDown

        boolean isShuttingDown()
      • isShutdown

        default boolean isShutdown()
      • checkAcceptingTasks

        void checkAcceptingTasks()
      • initializationTime

        long initializationTime()
      • operationModeTime

        long operationModeTime()
      • initializationDuration

        default long initializationDuration()