Package org.apache.bookkeeper.mledger
Interface Position
- All Known Implementing Classes:
PositionImpl,PositionImplRecyclable
@LimitedPrivate
@Stable
public interface Position
A Position is a pointer to a specific entry into the managed ledger.
-
Method Summary
Modifier and TypeMethodDescriptionlonglonggetNext()Get the position of the entry next to this one.
-
Method Details
-
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()
-