Class PageInfo


  • public class PageInfo
    extends Object
    PageInfo
    • Constructor Detail

      • PageInfo

        public PageInfo()
    • Method Detail

      • withNextMarker

        public PageInfo withNextMarker​(Long nextMarker)
      • getNextMarker

        public Long getNextMarker()
        下一次读取位置
        Returns:
        nextMarker
      • setNextMarker

        public void setNextMarker​(Long nextMarker)
      • withPreviousMarker

        public PageInfo withPreviousMarker​(Long previousMarker)
      • getPreviousMarker

        public Long getPreviousMarker()
        上一次读取位置
        Returns:
        previousMarker
      • setPreviousMarker

        public void setPreviousMarker​(Long previousMarker)
      • withCurrentCount

        public PageInfo withCurrentCount​(Long currentCount)
      • getCurrentCount

        public Long getCurrentCount()
        当前页总数
        Returns:
        currentCount
      • setCurrentCount

        public void setCurrentCount​(Long currentCount)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object