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)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface one.microstream.storage.types.StorageLockFileManager
stop
-
-
-
-
Method Detail
-
isRunning
public final boolean isRunning()
- Specified by:
isRunning
in interfaceStorageLockFileManager
-
setRunning
public final StorageLockFileManager setRunning(boolean running)
- Specified by:
setRunning
in interfaceStorageLockFileManager
-
start
public StorageLockFileManager.Default start()
- Specified by:
start
in interfaceStorageLockFileManager
-
validateIncrementalRead
public void validateIncrementalRead(StorageLockedFile file, long filePosition, ByteBuffer buffer, long lastReadCount) throws IOException
- Specified by:
validateIncrementalRead
in interfaceStorageReaderCallback
- Throws:
IOException
-
-