org.apache.zookeeper.server.upgrade
Class DataTreeV1.ProcessTxnResult
java.lang.Object
org.apache.zookeeper.server.upgrade.DataTreeV1.ProcessTxnResult
- Enclosing class:
- DataTreeV1
public static class DataTreeV1.ProcessTxnResult
- extends Object
Method Summary |
boolean |
equals(Object o)
Equality is defined as the clientId and the cxid being the same. |
int |
hashCode()
See equals() to find the rational for how this hashcode is generated. |
clientId
public long clientId
cxid
public int cxid
zxid
public long zxid
err
public int err
type
public int type
path
public String path
stat
public Stat stat
DataTreeV1.ProcessTxnResult
public DataTreeV1.ProcessTxnResult()
equals
public 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:
equals
in class Object
- See Also:
Object.equals(java.lang.Object)
hashCode
public int hashCode()
- See equals() to find the rational for how this hashcode is generated.
- Overrides:
hashCode
in class Object
- See Also:
equals(Object)
,
Object.hashCode()
Copyright © 2012 The Apache Software Foundation