@FunctionalInterface public interface StorageLockFileManagerThreadProvider extends StorageThreadProviding
| Modifier and Type | Interface and Description |
|---|---|
static class |
StorageLockFileManagerThreadProvider.Default |
| Modifier and Type | Method and Description |
|---|---|
static StorageLockFileManagerThreadProvider |
New() |
default Thread |
provideLockFileManagerThread(StorageLockFileManager lockFileManager)
Provides a newly created, yet unstarted
Thread instance wrapping the passed
StorageLockFileManager instance. |
Thread |
provideLockFileManagerThread(StorageLockFileManager lockFileManager,
StorageThreadNameProvider threadNameProvider) |
default Thread provideLockFileManagerThread(StorageLockFileManager lockFileManager)
Thread 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.lockFileManager - the lock file manager to wrapThread instance to be used as a storage lock file managing worker thread.Thread provideLockFileManagerThread(StorageLockFileManager lockFileManager, StorageThreadNameProvider threadNameProvider)
static StorageLockFileManagerThreadProvider New()
Copyright © 2022 MicroStream Software. All rights reserved.