Package org.apache.zookeeper.server
Class DataTree.ProcessTxnResult
- java.lang.Object
- 
- org.apache.zookeeper.server.DataTree.ProcessTxnResult
 
- 
- 
Constructor SummaryConstructors Constructor Description ProcessTxnResult()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Equality is defined as the clientId and the cxid being the same.inthashCode()See equals() to find the rational for how this hashcode is generated.
 
- 
- 
- 
Field Detail- 
clientIdpublic long clientId 
 - 
cxidpublic int cxid 
 - 
zxidpublic long zxid 
 - 
errpublic int err 
 - 
typepublic int type 
 - 
pathpublic String path 
 - 
statpublic Stat stat 
 - 
multiResultpublic List<DataTree.ProcessTxnResult> multiResult 
 
- 
 - 
Method Detail- 
equalspublic boolean equals(Object o) Equality is defined as the clientId and the cxid being the same. This allows us to use hash tables to track completion of transactions.- Overrides:
- equalsin class- Object
- See Also:
- Object.equals(java.lang.Object)
 
 - 
hashCodepublic int hashCode() See equals() to find the rational for how this hashcode is generated.- Overrides:
- hashCodein class- Object
- See Also:
- equals(Object),- Object.hashCode()
 
 
- 
 
-