Class FileWriteAheadLogManager.ReadFileHandle
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.persistence.wal.filehandle.AbstractFileHandle
-
- org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.ReadFileHandle
-
- All Implemented Interfaces:
AbstractWalRecordsIterator.AbstractReadFileHandle
- Enclosing class:
- FileWriteAheadLogManager
public static class FileWriteAheadLogManager.ReadFileHandle extends AbstractFileHandle implements AbstractWalRecordsIterator.AbstractReadFileHandle
-
-
Field Summary
-
Fields inherited from class org.apache.ignite.internal.processors.cache.persistence.wal.filehandle.AbstractFileHandle
fileIO
-
-
Constructor Summary
Constructors Constructor Description ReadFileHandle(SegmentIO fileIO, RecordSerializer ser, FileInput in, SegmentAware aware)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()longidx()FileInputin()RecordSerializerser()booleanworkDir()-
Methods inherited from class org.apache.ignite.internal.processors.cache.persistence.wal.filehandle.AbstractFileHandle
getSegmentId
-
-
-
-
Constructor Detail
-
ReadFileHandle
public ReadFileHandle(SegmentIO fileIO, RecordSerializer ser, FileInput in, SegmentAware aware)
- Parameters:
fileIO- I/O interface for read/write operations of AbstractFileHandle.ser- Entry serializer.in- File input.aware- Segment aware.
-
-
Method Detail
-
close
public void close() throws IgniteCheckedException- Specified by:
closein interfaceAbstractWalRecordsIterator.AbstractReadFileHandle- Throws:
IgniteCheckedException- If failed to close the WAL segment file.
-
idx
public long idx()
- Specified by:
idxin interfaceAbstractWalRecordsIterator.AbstractReadFileHandle
-
in
public FileInput in()
- Specified by:
inin interfaceAbstractWalRecordsIterator.AbstractReadFileHandle
-
ser
public RecordSerializer ser()
- Specified by:
serin interfaceAbstractWalRecordsIterator.AbstractReadFileHandle
-
workDir
public boolean workDir()
- Specified by:
workDirin interfaceAbstractWalRecordsIterator.AbstractReadFileHandle
-
-