Package org.nuxeo.lib.stream.log
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LogOffsetnextOffset()Returns the next offset corresponding to the next position in the same partition.longoffset()The position for the thispartition().LogPartitionpartition()Returns the tuple Log name and partition.-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
partition
LogPartition partition()
Returns the tuple Log name and partition.
-
offset
long offset()
The position for the thispartition().
-
nextOffset
LogOffset nextOffset()
Returns the next offset corresponding to the next position in the same partition.- Since:
- 10.1
-
-