Package one.microstream.storage.types
Class StorageLockFileManagerThreadProvider.Default
- java.lang.Object
-
- one.microstream.storage.types.StorageLockFileManagerThreadProvider.Default
-
- All Implemented Interfaces:
StorageLockFileManagerThreadProvider
- Enclosing interface:
- StorageLockFileManagerThreadProvider
public static final class StorageLockFileManagerThreadProvider.Default extends Object implements StorageLockFileManagerThreadProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageLockFileManagerThreadProvider
StorageLockFileManagerThreadProvider.Default
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description Thread
provideLockFileManagerThread(StorageLockFileManager lockFileManager)
Provides a newly created, yet unstartedThread
instance wrapping the passedStorageLockFileManager
instance.
-
-
-
Method Detail
-
provideLockFileManagerThread
public Thread provideLockFileManagerThread(StorageLockFileManager lockFileManager)
Description copied from interface:StorageLockFileManagerThreadProvider
Provides a newly created, yet unstartedThread
instance wrapping the passedStorageLockFileManager
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.- Specified by:
provideLockFileManagerThread
in interfaceStorageLockFileManagerThreadProvider
- Returns:
- a
Thread
instance to be used as a storage lock file managing worker thread.
-
-