Class DataTreeV1.ProcessTxnResult

  • Enclosing class:
    DataTreeV1

    public static class DataTreeV1.ProcessTxnResult
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      long clientId  
      int cxid  
      long zxid  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.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.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • clientId

        public long clientId
      • cxid

        public int cxid
      • zxid

        public long zxid
    • Constructor Detail

      • ProcessTxnResult

        public ProcessTxnResult()
    • Method Detail

      • equals

        public boolean equals​(java.lang.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 java.lang.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 java.lang.Object
        See Also:
        equals(Object), Object.hashCode()