Package | Description |
---|---|
org.apache.cassandra.io.compress | |
org.apache.cassandra.io.util |
Modifier and Type | Class and Description |
---|---|
protected static class |
CompressedSequentialWriter.CompressedFileWriterMark
Class to hold a mark to the position of the file
|
Modifier and Type | Method and Description |
---|---|
DataPosition |
CompressedSequentialWriter.mark() |
Modifier and Type | Method and Description |
---|---|
void |
CompressedSequentialWriter.resetAndTruncate(DataPosition mark) |
Modifier and Type | Class and Description |
---|---|
protected static class |
RandomAccessReader.BufferedRandomAccessFileMark
Class to hold a mark to the position of the file
|
protected static class |
RewindableDataInputStreamPlus.RewindableDataInputPlusMark |
protected static class |
SequentialWriter.BufferedFileWriterMark
Class to hold a mark to the position of the file
|
Modifier and Type | Method and Description |
---|---|
DataPosition |
FileSegmentInputStream.mark() |
DataPosition |
RandomAccessReader.mark() |
DataPosition |
RewindableDataInput.mark() |
DataPosition |
RewindableDataInputStreamPlus.mark()
Marks the current position of a stream to return to this position later via the
this#reset(DataPosition) method. |
DataPosition |
SequentialWriter.mark() |
Modifier and Type | Method and Description |
---|---|
long |
FileSegmentInputStream.bytesPastMark(DataPosition mark) |
long |
RandomAccessReader.bytesPastMark(DataPosition mark) |
long |
RewindableDataInput.bytesPastMark(DataPosition mark) |
long |
RewindableDataInputStreamPlus.bytesPastMark(DataPosition mark) |
void |
FileSegmentInputStream.reset(DataPosition mark) |
void |
RandomAccessReader.reset(DataPosition mark) |
void |
RewindableDataInput.reset(DataPosition mark) |
void |
RewindableDataInputStreamPlus.reset(DataPosition mark)
Rewinds to the previously marked position via the
this#mark() method. |
void |
SequentialWriter.resetAndTruncate(DataPosition mark)
Drops all buffered data that's past the limits of our new file mark + buffer capacity, or syncs and truncates
the underlying file to the marked position
|
Copyright © 2017 The Apache Software Foundation