public interface FileHandleManager
FileWriteHandle.| Modifier and Type | Method and Description |
|---|---|
WALPointer |
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()
WALPointer flush(WALPointer ptr, boolean explicitFsync) throws IgniteCheckedException, StorageException
ptr - Pointer until need to flush.explicitFsync - true if fsync required.ptr.
May be null, it means nothing has been flushed.IgniteCheckedException - if fail.StorageException - if storage was fail.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021