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 |
---|---|
void |
cleanup()
Do whatever action is needed to reclaim ressources used by this SegmentedFile.
|
FileDataInput |
getSegment(long position) |
getBuilder, getCompressedBuilder, iterator, toString
public MmappedSegmentedFile(java.lang.String path, long length, org.apache.cassandra.io.util.SegmentedFile.Segment[] segments)
public FileDataInput getSegment(long position)
getSegment
in class SegmentedFile
public void cleanup()
SegmentedFile
cleanup
in class SegmentedFile
Copyright © 2013 The Apache Software Foundation