org.apache.zookeeper
Class OpResult.CreateResult

java.lang.Object
  extended by org.apache.zookeeper.OpResult
      extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.zookeeper.OpResult
OpResult.CheckResult, OpResult.CreateResult, OpResult.DeleteResult, OpResult.ErrorResult, OpResult.SetDataResult
 
Constructor Summary
OpResult.CreateResult(String path)
           
 
Method Summary
 boolean equals(Object o)
           
 String getPath()
           
 int hashCode()
           
 
Methods inherited from class org.apache.zookeeper.OpResult
getType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpResult.CreateResult

public OpResult.CreateResult(String path)
Method Detail

getPath

public String getPath()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2011 The Apache Software Foundation