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, toStringpublic MmappedSegmentedFile(java.lang.String path,
long length,
org.apache.cassandra.io.util.SegmentedFile.Segment[] segments)
public FileDataInput getSegment(long position)
getSegment in class SegmentedFilepublic void cleanup()
SegmentedFilecleanup in class SegmentedFileCopyright © 2015 The Apache Software Foundation