|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.io.util.SegmentedFile.Builder
org.apache.cassandra.io.util.CompressedSegmentedFile.Builder
public static class CompressedSegmentedFile.Builder
Constructor Summary | |
---|---|
CompressedSegmentedFile.Builder()
|
Method Summary | |
---|---|
void |
addPotentialBoundary(long boundary)
Adds a position that would be a safe place for a segment boundary in the file. |
SegmentedFile |
complete(java.lang.String path)
Called after all potential boundaries have been added to apply this Builder to a concrete file on disk. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompressedSegmentedFile.Builder()
Method Detail |
---|
public void addPotentialBoundary(long boundary)
addPotentialBoundary
in class SegmentedFile.Builder
boundary
- The absolute position of the potential boundary in the file.public SegmentedFile complete(java.lang.String path)
complete
in class SegmentedFile.Builder
path
- The file on disk.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |