| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ChildData rhs) |
boolean |
equals(java.lang.Object o) |
byte[] |
getData()
Returns the node data for this child when the cache mode is set to cache data.
|
T |
getNode()
Returns the node for this group member.
|
java.lang.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() |
java.lang.String |
toString() |
public int compareTo(ChildData rhs)
compareTo in interface java.lang.Comparable<ChildData>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.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 T getNode()
Returns the node for this group member.
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2016 Red Hat. All Rights Reserved.