public class LockedSegmentFileInputFactory extends Object implements SegmentFileInputFactory
FileInput with ability locked segment during reading.| Constructor and Description |
|---|
LockedSegmentFileInputFactory(SegmentAware segmentAware,
SegmentRouter segmentRouter,
FileIOFactory fileIOFactory) |
| Modifier and Type | Method and Description |
|---|---|
FileInput |
createFileInput(SegmentIO segmentIO,
ByteBufferExpander buf) |
public LockedSegmentFileInputFactory(SegmentAware segmentAware, SegmentRouter segmentRouter, FileIOFactory fileIOFactory)
segmentAware - Holder of actual information of latest manipulation on WAL segments.segmentRouter - Manager of segment location.fileIOFactory - FileIO factory definition.public FileInput createFileInput(SegmentIO segmentIO, ByteBufferExpander buf) throws IOException
createFileInput in interface SegmentFileInputFactorysegmentIO - FileIO of segment for reading.buf - ByteBuffer wrapper for dynamically expand buffer size.FileInput.IOException - If have some trouble with I/O.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023