Package org.apache.zookeeper.txn
Class CreateTxn
java.lang.Object
org.apache.zookeeper.txn.CreateTxn
- All Implemented Interfaces:
Record
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoiddeserialize(InputArchive a_, String tag) booleangetAcl()byte[]getData()booleanintgetPath()inthashCode()voidreadFields(DataInput in) voidserialize(OutputArchive a_, String tag) voidvoidsetData(byte[] m_) voidsetEphemeral(boolean m_) voidsetParentCVersion(int m_) voidstatic StringtoString()voidwrite(DataOutput out)
-
Constructor Details
-
CreateTxn
public CreateTxn() -
CreateTxn
-
-
Method Details
-
getPath
-
setPath
-
getData
public byte[] getData() -
setData
public void setData(byte[] m_) -
getAcl
-
setAcl
-
getEphemeral
public boolean getEphemeral() -
setEphemeral
public void setEphemeral(boolean m_) -
getParentCVersion
public int getParentCVersion() -
setParentCVersion
public void setParentCVersion(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
-