Package org.apache.zookeeper.txn
Class CreateContainerTxn
java.lang.Object
org.apache.zookeeper.txn.CreateContainerTxn
- All Implemented Interfaces:
Record
-
Constructor Summary
ConstructorsConstructorDescriptionCreateContainerTxn
(String path, byte[] data, List<ACL> acl, int parentCVersion) -
Method Summary
Modifier and TypeMethodDescriptionint
void
deserialize
(InputArchive a_, String tag) boolean
getAcl()
byte[]
getData()
int
getPath()
int
hashCode()
void
readFields
(DataInput in) void
serialize
(OutputArchive a_, String tag) void
void
setData
(byte[] m_) void
setParentCVersion
(int m_) void
static String
toString()
void
write
(DataOutput out)
-
Constructor Details
-
CreateContainerTxn
public CreateContainerTxn() -
CreateContainerTxn
-
-
Method Details
-
getPath
-
setPath
-
getData
public byte[] getData() -
setData
public void setData(byte[] m_) -
getAcl
-
setAcl
-
getParentCVersion
public int getParentCVersion() -
setParentCVersion
public void setParentCVersion(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
-