Package org.apache.bookkeeper.mledger
Interface Position
-
- All Known Implementing Classes:
PositionImpl,PositionImplRecyclable
@LimitedPrivate @Stable public interface PositionA Position is a pointer to a specific entry into the managed ledger.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetEntryId()longgetLedgerId()PositiongetNext()Get the position of the entry next to this one.
-
-
-
Method Detail
-
getNext
Position getNext()
Get the position of the entry next to this one. The returned position might point to a non-existing, or not-yet existing entry- Returns:
- the position of the next logical entry
-
getLedgerId
long getLedgerId()
-
getEntryId
long getEntryId()
-
-