Class SimpleSegmentFileInputFactory
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.persistence.wal.io.SimpleSegmentFileInputFactory
-
- All Implemented Interfaces:
SegmentFileInputFactory
public class SimpleSegmentFileInputFactory extends Object implements SegmentFileInputFactory
Simple implementation ofSegmentFileInputFactory.
-
-
Constructor Summary
Constructors Constructor Description SimpleSegmentFileInputFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileInputcreateFileInput(SegmentIO segmentIO, ByteBufferExpander buf)
-
-
-
Method Detail
-
createFileInput
public FileInput createFileInput(SegmentIO segmentIO, ByteBufferExpander buf) throws IOException
- Specified by:
createFileInputin interfaceSegmentFileInputFactory- Parameters:
segmentIO- FileIO of segment for reading.buf- ByteBuffer wrapper for dynamically expand buffer size.- Returns:
- Instance of
FileInput. - Throws:
IOException- If have some trouble with I/O.
-
-