Package one.microstream.storage.types
Class StorageThreadProvider.Wrapper
java.lang.Object
one.microstream.storage.types.StorageThreadProvider.Wrapper
- All Implemented Interfaces:
- StorageBackupThreadProvider,- StorageChannelThreadProvider,- StorageLockFileManagerThreadProvider,- StorageThreadProvider,- StorageThreadProviding
- Enclosing interface:
- StorageThreadProvider
public static final class StorageThreadProvider.Wrapper extends Object implements StorageThreadProvider
- 
Nested Class SummaryNested classes/interfaces inherited from interface one.microstream.storage.types.StorageBackupThreadProviderStorageBackupThreadProvider.DefaultNested classes/interfaces inherited from interface one.microstream.storage.types.StorageChannelThreadProviderStorageChannelThreadProvider.DefaultNested classes/interfaces inherited from interface one.microstream.storage.types.StorageLockFileManagerThreadProviderStorageLockFileManagerThreadProvider.DefaultNested classes/interfaces inherited from interface one.microstream.storage.types.StorageThreadProviderStorageThreadProvider.Wrapper
- 
Constructor SummaryConstructors Constructor Description Wrapper()
- 
Method SummaryModifier and Type Method Description ThreadprovideBackupThread(StorageBackupHandler backupHandler)Provides a newly created, yet unstartedThreadinstance wrapping the passedStorageBackupHandlerinstance.ThreadprovideBackupThread(StorageBackupHandler backupHandler, StorageThreadNameProvider threadNameProvider)ThreadprovideChannelThread(StorageChannel storageChannel)Provides a newly created, yet unstartedThreadinstance wrapping the passedStorageChannelinstance.ThreadprovideChannelThread(StorageChannel storageChannel, StorageThreadNameProvider threadNameProvider)ThreadprovideLockFileManagerThread(StorageLockFileManager lockFileManager)Provides a newly created, yet unstartedThreadinstance wrapping the passedStorageLockFileManagerinstance.ThreadprovideLockFileManagerThread(StorageLockFileManager lockFileManager, StorageThreadNameProvider threadNameProvider)
- 
Constructor Details- 
Wrapperpublic Wrapper()
 
- 
- 
Method Details- 
provideChannelThreadDescription copied from interface:StorageChannelThreadProviderProvides a newly created, yet unstartedThreadinstance wrapping the passedStorageChannelinstance. 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:
- provideChannelThreadin interface- StorageChannelThreadProvider
- Returns:
- a Threadinstance to be used as a storage channel worker thread.
 
- 
provideBackupThreadDescription copied from interface:StorageBackupThreadProviderProvides a newly created, yet unstartedThreadinstance wrapping the passedStorageBackupHandlerinstance. 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.- Specified by:
- provideBackupThreadin interface- StorageBackupThreadProvider
- Returns:
- a Threadinstance to be used as a storage backup worker thread.
 
- 
provideLockFileManagerThreadDescription copied from interface:StorageLockFileManagerThreadProviderProvides a newly created, yet unstartedThreadinstance wrapping the passedStorageLockFileManagerinstance. 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.- Specified by:
- provideLockFileManagerThreadin interface- StorageLockFileManagerThreadProvider
- Returns:
- a Threadinstance to be used as a storage lock file managing worker thread.
 
- 
provideChannelThreadpublic final Thread provideChannelThread(StorageChannel storageChannel, StorageThreadNameProvider threadNameProvider)- Specified by:
- provideChannelThreadin interface- StorageChannelThreadProvider
 
- 
provideBackupThreadpublic final Thread provideBackupThread(StorageBackupHandler backupHandler, StorageThreadNameProvider threadNameProvider)- Specified by:
- provideBackupThreadin interface- StorageBackupThreadProvider
 
- 
provideLockFileManagerThreadpublic final Thread provideLockFileManagerThread(StorageLockFileManager lockFileManager, StorageThreadNameProvider threadNameProvider)- Specified by:
- provideLockFileManagerThreadin interface- StorageLockFileManagerThreadProvider
 
 
-