Package org.apache.zookeeper.txn
Class SetDataTxn
java.lang.Object
org.apache.zookeeper.txn.SetDataTxn
- All Implemented Interfaces:
Record
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoiddeserialize(InputArchive a_, String tag) booleanbyte[]getData()getPath()intinthashCode()voidreadFields(DataInput in) voidserialize(OutputArchive a_, String tag) voidsetData(byte[] m_) voidvoidsetVersion(int m_) static StringtoString()voidwrite(DataOutput out)
-
Constructor Details
-
SetDataTxn
public SetDataTxn() -
SetDataTxn
-
-
Method Details
-
getPath
-
setPath
-
getData
public byte[] getData() -
setData
public void setData(byte[] m_) -
getVersion
public int getVersion() -
setVersion
public void setVersion(int m_) -
serialize
- Specified by:
serializein interfaceRecord- Throws:
IOException
-
deserialize
- Specified by:
deserializein interfaceRecord- Throws:
IOException
-
toString
-
write
- Throws:
IOException
-
readFields
- Throws:
IOException
-
compareTo
- Throws:
ClassCastException
-
equals
-
hashCode
public int hashCode() -
signature
-