Package one.microstream.storage.types
Class StorageBackupThreadProvider.Default
- java.lang.Object
-
- one.microstream.storage.types.StorageBackupThreadProvider.Default
-
- All Implemented Interfaces:
StorageBackupThreadProvider
- Enclosing interface:
- StorageBackupThreadProvider
public static final class StorageBackupThreadProvider.Default extends Object implements StorageBackupThreadProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageBackupThreadProvider
StorageBackupThreadProvider.Default
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description ThreadprovideBackupThread(StorageBackupHandler backupHandler)Provides a newly created, yet unstartedThreadinstance wrapping the passedStorageBackupHandlerinstance.
-
-
-
Method Detail
-
provideBackupThread
public Thread provideBackupThread(StorageBackupHandler backupHandler)
Description 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 interfaceStorageBackupThreadProvider- Returns:
- a
Threadinstance to be used as a storage backup worker thread.
-
-