public static final class StorageThreadProvider.Wrapper extends Object implements StorageThreadProvider
StorageThreadProvider.WrapperStorageChannelThreadProvider.DefaultStorageBackupThreadProvider.DefaultStorageLockFileManagerThreadProvider.Default| Modifier and Type | Method and Description |
|---|---|
Thread |
provideBackupThread(StorageBackupHandler backupHandler)
Provides a newly created, yet unstarted
Thread instance wrapping the passed
StorageBackupHandler instance. |
Thread |
provideBackupThread(StorageBackupHandler backupHandler,
StorageThreadNameProvider threadNameProvider) |
Thread |
provideChannelThread(StorageChannel storageChannel)
Provides a newly created, yet unstarted
Thread instance wrapping the passed
StorageChannel instance. |
Thread |
provideChannelThread(StorageChannel storageChannel,
StorageThreadNameProvider threadNameProvider) |
Thread |
provideLockFileManagerThread(StorageLockFileManager lockFileManager)
Provides a newly created, yet unstarted
Thread instance wrapping the passed
StorageLockFileManager instance. |
Thread |
provideLockFileManagerThread(StorageLockFileManager lockFileManager,
StorageThreadNameProvider threadNameProvider) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitNew, NewNewNewpublic final Thread provideChannelThread(StorageChannel storageChannel)
StorageChannelThreadProviderThread 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 erronous behavior.provideChannelThread in interface StorageChannelThreadProviderstorageChannel - the channel to wrapThread instance to be used as a storage channel worker thread.public final Thread provideBackupThread(StorageBackupHandler backupHandler)
StorageBackupThreadProviderThread 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.provideBackupThread in interface StorageBackupThreadProviderbackupHandler - the handler to wrapThread instance to be used as a storage backup worker thread.public final Thread provideLockFileManagerThread(StorageLockFileManager lockFileManager)
StorageLockFileManagerThreadProviderThread instance wrapping the passed
StorageLockFileManager instance.
The thread will be used as an exclusive, permanent lock file validator and updater 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.provideLockFileManagerThread in interface StorageLockFileManagerThreadProviderlockFileManager - the lock file manager to wrapThread instance to be used as a storage lock file managing worker thread.public final Thread provideChannelThread(StorageChannel storageChannel, StorageThreadNameProvider threadNameProvider)
provideChannelThread in interface StorageChannelThreadProviderpublic final Thread provideBackupThread(StorageBackupHandler backupHandler, StorageThreadNameProvider threadNameProvider)
provideBackupThread in interface StorageBackupThreadProviderpublic final Thread provideLockFileManagerThread(StorageLockFileManager lockFileManager, StorageThreadNameProvider threadNameProvider)
provideLockFileManagerThread in interface StorageLockFileManagerThreadProviderCopyright © 2022 MicroStream Software. All rights reserved.