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 TypeMethodDescriptionint
void
deserialize
(InputArchive a_, String tag) boolean
byte[]
getData()
getPath()
int
int
hashCode()
void
readFields
(DataInput in) void
serialize
(OutputArchive a_, String tag) void
setData
(byte[] m_) void
void
setVersion
(int m_) static String
toString()
void
write
(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:
serialize
in interfaceRecord
- Throws:
IOException
-
deserialize
- Specified by:
deserialize
in interfaceRecord
- Throws:
IOException
-
toString
-
write
- Throws:
IOException
-
readFields
- Throws:
IOException
-
compareTo
- Throws:
ClassCastException
-
equals
-
hashCode
public int hashCode() -
signature
-