Package one.microstream.storage.types
Class StorageLockFileManager.Default
java.lang.Object
one.microstream.storage.types.StorageLockFileManager.Default
- All Implemented Interfaces:
Runnable
,StorageLockFileManager
,StorageReaderCallback
- Enclosing interface:
- StorageLockFileManager
public static final class StorageLockFileManager.Default extends Object implements StorageLockFileManager, StorageReaderCallback
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageLockFileManager
StorageLockFileManager.Creator, StorageLockFileManager.Default
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageReaderCallback
StorageReaderCallback.Default
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description boolean
isRunning()
void
run()
StorageLockFileManager
setRunning(boolean running)
StorageLockFileManager.Default
start()
void
validateIncrementalRead(StorageLockedFile file, long filePosition, ByteBuffer buffer, long lastReadCount)
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
isRunning
public final boolean isRunning()- Specified by:
isRunning
in interfaceStorageLockFileManager
-
setRunning
- Specified by:
setRunning
in interfaceStorageLockFileManager
-
start
- Specified by:
start
in interfaceStorageLockFileManager
-
run
public final void run() -
validateIncrementalRead
public void validateIncrementalRead(StorageLockedFile file, long filePosition, ByteBuffer buffer, long lastReadCount) throws IOException- Specified by:
validateIncrementalRead
in interfaceStorageReaderCallback
- Throws:
IOException
-