Class StateSummary
java.lang.Object
org.apache.zookeeper.server.quorum.StateSummary
This class encapsulates the state comparison logic. Specifically,
how two different states are compared.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StateSummary
public StateSummary(long currentEpoch, long lastZxid)
-
-
Method Details
-
getCurrentEpoch
public long getCurrentEpoch() -
getLastZxid
public long getLastZxid() -
isMoreRecentThan
-
equals
-
hashCode
-