|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.io.util.SegmentedFile
org.apache.cassandra.io.util.MmappedSegmentedFile
public class MmappedSegmentedFile
Field Summary | |
---|---|
static long |
MAX_SEGMENT_SIZE
|
Fields inherited from class org.apache.cassandra.io.util.SegmentedFile |
---|
length, onDiskLength, path |
Constructor Summary | |
---|---|
MmappedSegmentedFile(java.lang.String path,
long length,
org.apache.cassandra.io.util.SegmentedFile.Segment[] segments)
|
Method Summary | |
---|---|
void |
cleanup()
Do whatever action is needed to reclaim ressources used by this SegmentedFile. |
FileDataInput |
getSegment(long position)
|
Methods inherited from class org.apache.cassandra.io.util.SegmentedFile |
---|
getBuilder, getCompressedBuilder, iterator, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static long MAX_SEGMENT_SIZE
Constructor Detail |
---|
public MmappedSegmentedFile(java.lang.String path, long length, org.apache.cassandra.io.util.SegmentedFile.Segment[] segments)
Method Detail |
---|
public FileDataInput getSegment(long position)
getSegment
in class SegmentedFile
public void cleanup()
SegmentedFile
cleanup
in class SegmentedFile
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |