Class LRBean


  • public class LRBean
    extends Object
    Author:
    giovanni
    • Constructor Detail

      • LRBean

        public LRBean​(int leftEpoch,
                      int leftSlot,
                      int rightEpoch,
                      int rightSlot,
                      String blockSearchRequestHash,
                      long searchID,
                      int liveness)
      • LRBean

        public LRBean​(int leftLimitInSlot,
                      int rightLimitInSlot,
                      String blockSearchRequestHash,
                      long searchID,
                      int liveness)
      • LRBean

        public LRBean​(int leftEpoch,
                      int leftSlot,
                      int rightEpoch,
                      int rightSlot,
                      String blockSearchRequestHash,
                      long searchID)
      • LRBean

        public LRBean​(int leftLimitInSlot,
                      int rightLimitInSlot,
                      String blockSearchRequestHash,
                      long searchID)
    • Method Detail

      • getLiveness

        public int getLiveness()
      • setLiveness

        public void setLiveness​(int liveness)
      • decreseLiveness

        public void decreseLiveness()
      • hasExpired

        public boolean hasExpired()
      • getLeftEpoch

        public int getLeftEpoch()
      • setLeftEpoch

        public void setLeftEpoch​(int leftEpoch)
      • getLeftSlot

        public int getLeftSlot()
      • setLeftSlot

        public void setLeftSlot​(int leftSlot)
      • getRightEpoch

        public int getRightEpoch()
      • setRightEpoch

        public void setRightEpoch​(int rightEpoch)
      • getRightSlot

        public int getRightSlot()
      • setRightSlot

        public void setRightSlot​(int rightSlot)
      • getBlockSearchRequestHash

        public String getBlockSearchRequestHash()
      • setBlockSearchRequestHash

        public void setBlockSearchRequestHash​(String blockSearchRequestHash)
      • getSearchID

        public long getSearchID()
      • setSearchID

        public void setSearchID​(long searchID)
      • getRightLimitInSlot

        public int getRightLimitInSlot()
      • getLeftLimitInSlot

        public int getLeftLimitInSlot()
      • setRightLimitInSlot

        public void setRightLimitInSlot​(int rightSlotByWIT)
      • setLeftLimitInSlot

        public void setLeftLimitInSlot​(int leftSlotByWIT)