|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.curator.framework.recipes.cache.ChildData
public class ChildData
| Constructor Summary | |
|---|---|
ChildData(String path,
org.apache.zookeeper.data.Stat stat,
byte[] data)
|
|
| Method Summary | |
|---|---|
int |
compareTo(ChildData rhs)
Note: this class has a natural ordering that is inconsistent with equals. |
boolean |
equals(Object o)
|
byte[] |
getData()
Returns the node data for this child when the cache mode is set to cache data. |
String |
getPath()
Returns the full path of the this child |
org.apache.zookeeper.data.Stat |
getStat()
Returns the stat data for this child |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ChildData(String path,
org.apache.zookeeper.data.Stat stat,
byte[] data)
| Method Detail |
|---|
public int compareTo(ChildData rhs)
compareTo in interface Comparable<ChildData>public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String getPath()
public org.apache.zookeeper.data.Stat getStat()
public byte[] getData()
Returns the node data for this child when the cache mode is set to cache data.
NOTE: the byte array returned is the raw reference of this instance's field. If you change the values in the array any other callers to this method will see the change.
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||