接口 Position

所有已知实现类:
PositionImpl, PositionImplRecyclable

@LimitedPrivate @Stable public interface Position
A Position is a pointer to a specific entry into the managed ledger.
  • 方法概要

    修饰符和类型
    方法
    说明
    long
     
    long
     
    Get the position of the entry next to this one.
  • 方法详细资料

    • 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
      返回:
      the position of the next logical entry
    • getLedgerId

      long getLedgerId()
    • getEntryId

      long getEntryId()