Class LRBean
- java.lang.Object
-
- com.h2tcoin.takamakachain.utils.directConnect.LRBean
-
public class LRBean extends Object
- Author:
- giovanni
-
-
Constructor Summary
Constructors Constructor Description LRBean(int leftEpoch, int leftSlot, int rightEpoch, int rightSlot, String blockSearchRequestHash, long searchID)
LRBean(int leftEpoch, int leftSlot, int rightEpoch, int rightSlot, String blockSearchRequestHash, long searchID, int liveness)
LRBean(int leftLimitInSlot, int rightLimitInSlot, String blockSearchRequestHash, long searchID)
LRBean(int leftLimitInSlot, int rightLimitInSlot, String blockSearchRequestHash, long searchID, int liveness)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decreseLiveness()
String
getBlockSearchRequestHash()
int
getLeftEpoch()
int
getLeftLimitInSlot()
int
getLeftSlot()
int
getLiveness()
int
getRightEpoch()
int
getRightLimitInSlot()
int
getRightSlot()
long
getSearchID()
boolean
hasExpired()
void
setBlockSearchRequestHash(String blockSearchRequestHash)
void
setLeftEpoch(int leftEpoch)
void
setLeftLimitInSlot(int leftSlotByWIT)
void
setLeftSlot(int leftSlot)
void
setLiveness(int liveness)
void
setRightEpoch(int rightEpoch)
void
setRightLimitInSlot(int rightSlotByWIT)
void
setRightSlot(int rightSlot)
void
setSearchID(long searchID)
-
-
-
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)
-
-