Class OpResult.CreateResult

java.lang.Object
org.apache.zookeeper.OpResult
org.apache.zookeeper.OpResult.CreateResult
Enclosing class:
OpResult

public static class OpResult.CreateResult extends OpResult
A result from a create operation. This kind of result allows the path to be retrieved since the create might have been a sequential create.
  • Constructor Details

    • CreateResult

      public CreateResult(String path)
    • CreateResult

      public CreateResult(String path, Stat stat)
  • Method Details

    • getPath

      public String getPath()
    • getStat

      public Stat getStat()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object