public class MmappedSegmentedFile extends SegmentedFile
Modifier and Type | Field and Description |
---|---|
static long |
MAX_SEGMENT_SIZE |
length, onDiskLength, path
Constructor and Description |
---|
MmappedSegmentedFile(java.lang.String path,
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, getCompressedBuilder, iterator, toString
close, isCleanedUp
public MmappedSegmentedFile(java.lang.String path, long length, org.apache.cassandra.io.util.SegmentedFile.Segment[] segments)
public MmappedSegmentedFile sharedCopy()
sharedCopy
in interface SharedCloseable
sharedCopy
in class SegmentedFile
public FileDataInput getSegment(long position)
getSegment
in class SegmentedFile
Copyright © 2015 The Apache Software Foundation