public class MmappedSegmentedFile extends SegmentedFile
| Modifier and Type | Field and Description |
|---|---|
static long |
MAX_SEGMENT_SIZE |
bufferSize, channel, length, onDiskLength| Constructor and Description |
|---|
MmappedSegmentedFile(ChannelProxy channel,
int bufferSize,
long length,
org.apache.cassandra.io.util.SegmentedFile.Segment[] segments) |
| Modifier and Type | Method and Description |
|---|---|
FileDataInput |
getSegment(long position) |
MmappedSegmentedFile |
sharedCopy() |
createReader, createThrottledReader, dropPageCache, getBuilder, getCompressedBuilder, iterator, path, toStringaddTo, close, close, isCleanedUppublic MmappedSegmentedFile(ChannelProxy channel, int bufferSize, long length, org.apache.cassandra.io.util.SegmentedFile.Segment[] segments)
public MmappedSegmentedFile sharedCopy()
sharedCopy in interface SharedCloseablesharedCopy in class SegmentedFilepublic FileDataInput getSegment(long position)
getSegment in class SegmentedFileCopyright © 2015 The Apache Software Foundation