Class ListOffsetsResult.ListOffsetsResultInfo

  • Enclosing class:
    ListOffsetsResult

    public static class ListOffsetsResult.ListOffsetsResultInfo
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ListOffsetsResultInfo​(long offset, long timestamp, java.util.Optional<java.lang.Integer> leaderEpoch)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.Integer> leaderEpoch()  
      long offset()  
      long timestamp()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ListOffsetsResultInfo

        public ListOffsetsResultInfo​(long offset,
                                     long timestamp,
                                     java.util.Optional<java.lang.Integer> leaderEpoch)
    • Method Detail

      • offset

        public long offset()
      • timestamp

        public long timestamp()
      • leaderEpoch

        public java.util.Optional<java.lang.Integer> leaderEpoch()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object