Interface StorageBackupThreadProvider

    • Method Detail

      • provideBackupThread

        default Thread provideBackupThread​(StorageBackupHandler backupHandler)
        Provides a newly created, yet un-started Thread instance wrapping the passed StorageBackupHandler instance. The thread will be used as an exclusive, permanent backup worker thread until the storage is shut down. Interfering with the thread from outside the storage compound has undefined and potentially unpredictable and erronous behavior.
        Parameters:
        backupHandler - the handler to wrap
        Returns:
        a Thread instance to be used as a storage backup worker thread.