Class StorageChannelThreadProvider.Default

    • Constructor Detail

      • Default

        public Default()
    • Method Detail

      • provideChannelThread

        public Thread provideChannelThread​(StorageChannel storageChannel)
        Description copied from interface: StorageChannelThreadProvider
        Provides a newly created, yet unstarted Thread instance wrapping the passedStorageChannel 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 erronous behavior.
        Specified by:
        provideChannelThread in interface StorageChannelThreadProvider
        Returns:
        a Thread instance to be used as a storage channel worker thread.