Interface StorageChannelThreadProvider

    • Method Detail

      • provideChannelThread

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