Interface LogOffset

All Superinterfaces:
Comparable<LogOffset>
All Known Implementing Classes:
LogOffsetImpl

public interface LogOffset extends Comparable<LogOffset>
A message position in a partition.
Since:
9.3"
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the next offset corresponding to the next position in the same partition.
    long
    The position for the this partition().
    Returns the tuple Log name and partition.

    Methods inherited from interface java.lang.Comparable

    compareTo
  • Method Details

    • partition

      LogPartition partition()
      Returns the tuple Log name and partition.
    • offset

      long offset()
      The position for the this partition().
    • nextOffset

      LogOffset nextOffset()
      Returns the next offset corresponding to the next position in the same partition.
      Since:
      10.1