## Uses of Interface
org.apache.cassandra.io.util.DataPosition

- Packages that use DataPosition
  Package | Description
  --- | ---
  org.apache.cassandra.db.commitlog |
  org.apache.cassandra.io.compress |
  org.apache.cassandra.io.util |

- - ### Uses of DataPosition in org.apache.cassandra.db.commitlog

    Methods in org.apache.cassandra.db.commitlog with parameters of type DataPosition
    Modifier and Type | Method and Description
    --- | ---
    `long` | EncryptedFileSegmentInputStream.`bytesPastMark(DataPosition mark)`

  - ### Uses of DataPosition in org.apache.cassandra.io.compress

    Classes in org.apache.cassandra.io.compress that implement DataPosition
    Modifier and Type | Class and Description
    --- | ---
    `protected static class` | `CompressedSequentialWriter.CompressedFileWriterMark` Class to hold a mark to the position of the file

    Methods in org.apache.cassandra.io.compress that return DataPosition
    Modifier and Type | Method and Description
    --- | ---
    `DataPosition` | CompressedSequentialWriter.`mark()`

    Methods in org.apache.cassandra.io.compress with parameters of type DataPosition
    Modifier and Type | Method and Description
    --- | ---
    `void` | CompressedSequentialWriter.`resetAndTruncate(DataPosition mark)`

  - ### Uses of DataPosition in org.apache.cassandra.io.util

    Classes in org.apache.cassandra.io.util that implement DataPosition
    Modifier and Type | Class and Description
    --- | ---
    `protected static class` | `RewindableDataInputStreamPlus.RewindableDataInputPlusMark`
    `protected static class` | `SequentialWriter.BufferedFileWriterMark` Class to hold a mark to the position of the file

    Methods in org.apache.cassandra.io.util that return DataPosition
    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 `RewindableDataInputStreamPlus.reset(DataPosition)` method.
    `DataPosition` | SequentialWriter.`mark()`

    Methods in org.apache.cassandra.io.util with parameters of type DataPosition
    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 `RewindableDataInputStreamPlus.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 © 2018 The Apache Software Foundation