Class StateSummary
- java.lang.Object
- 
- org.apache.zookeeper.server.quorum.StateSummary
 
- 
 public class StateSummary extends Object This class encapsulates the state comparison logic. Specifically, how two different states are compared.
- 
- 
Constructor SummaryConstructors Constructor Description StateSummary(long currentEpoch, long lastZxid)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)longgetCurrentEpoch()longgetLastZxid()inthashCode()booleanisMoreRecentThan(StateSummary ss)
 
- 
- 
- 
Method Detail- 
getCurrentEpochpublic long getCurrentEpoch() 
 - 
getLastZxidpublic long getLastZxid() 
 - 
isMoreRecentThanpublic boolean isMoreRecentThan(StateSummary ss) 
 
- 
 
-