Package org.apache.zookeeper.data
Class Stat
- java.lang.Object
-
- org.apache.zookeeper.data.Stat
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Object peer_)voiddeserialize(InputArchive a_, String tag)booleanequals(Object peer_)intgetAversion()longgetCtime()intgetCversion()longgetCzxid()intgetDataLength()longgetEphemeralOwner()longgetMtime()longgetMzxid()intgetNumChildren()longgetPzxid()intgetVersion()inthashCode()voidreadFields(DataInput in)voidserialize(OutputArchive a_, String tag)voidsetAversion(int m_)voidsetCtime(long m_)voidsetCversion(int m_)voidsetCzxid(long m_)voidsetDataLength(int m_)voidsetEphemeralOwner(long m_)voidsetMtime(long m_)voidsetMzxid(long m_)voidsetNumChildren(int m_)voidsetPzxid(long m_)voidsetVersion(int m_)static Stringsignature()StringtoString()voidwrite(DataOutput out)
-
-
-
Method Detail
-
getCzxid
public long getCzxid()
-
setCzxid
public void setCzxid(long m_)
-
getMzxid
public long getMzxid()
-
setMzxid
public void setMzxid(long m_)
-
getCtime
public long getCtime()
-
setCtime
public void setCtime(long m_)
-
getMtime
public long getMtime()
-
setMtime
public void setMtime(long m_)
-
getVersion
public int getVersion()
-
setVersion
public void setVersion(int m_)
-
getCversion
public int getCversion()
-
setCversion
public void setCversion(int m_)
-
getAversion
public int getAversion()
-
setAversion
public void setAversion(int m_)
-
getEphemeralOwner
public long getEphemeralOwner()
-
setEphemeralOwner
public void setEphemeralOwner(long m_)
-
getDataLength
public int getDataLength()
-
setDataLength
public void setDataLength(int m_)
-
getNumChildren
public int getNumChildren()
-
setNumChildren
public void setNumChildren(int m_)
-
getPzxid
public long getPzxid()
-
setPzxid
public void setPzxid(long m_)
-
serialize
public void serialize(OutputArchive a_, String tag) throws IOException
- Specified by:
serializein interfaceRecord- Throws:
IOException
-
deserialize
public void deserialize(InputArchive a_, String tag) throws IOException
- Specified by:
deserializein interfaceRecord- Throws:
IOException
-
write
public void write(DataOutput out) throws IOException
- Throws:
IOException
-
readFields
public void readFields(DataInput in) throws IOException
- Throws:
IOException
-
compareTo
public int compareTo(Object peer_) throws ClassCastException
- Throws:
ClassCastException
-
signature
public static String signature()
-
-