public interface FileHandleManager
FileWriteHandle.| Modifier and Type | Method and Description |
|---|---|
void |
flush(WALPointer ptr,
boolean explicitFsync) |
FileWriteHandle |
initHandle(SegmentIO fileIO,
long position,
RecordSerializer serializer)
Initialize
FileWriteHandle for first time. |
FileWriteHandle |
nextHandle(SegmentIO fileIO,
RecordSerializer serializer)
Create next file handle.
|
void |
onDeactivate()
On deactivate.
|
void |
resumeLogging()
Resume logging.
|
FileWriteHandle initHandle(SegmentIO fileIO, long position, RecordSerializer serializer) throws IOException
FileWriteHandle for first time.fileIO - FileIO.position - Init position.serializer - Serializer for file handle.IOException - if creation was not success.FileWriteHandle nextHandle(SegmentIO fileIO, RecordSerializer serializer) throws IOException
fileIO - FileIO.serializer - Serializer for file handle.IOException - if creation was not success.void onDeactivate()
throws IgniteCheckedException
IgniteCheckedException - if fail.void resumeLogging()
void flush(WALPointer ptr, boolean explicitFsync) throws IgniteCheckedException, StorageException
ptr - Pointer until need to flush.explicitFsync - true if fsync required.IgniteCheckedException - if fail.StorageException - if storage was fail.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020