Package org.apache.zookeeper.txn
Class CreateTxnV0
- java.lang.Object
-
- org.apache.zookeeper.txn.CreateTxnV0
-
-
Constructor Summary
Constructors Constructor Description CreateTxnV0()CreateTxnV0(String path, byte[] data, List<ACL> acl, boolean ephemeral)
-
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_)List<ACL>getAcl()byte[]getData()booleangetEphemeral()StringgetPath()inthashCode()voidreadFields(DataInput in)voidserialize(OutputArchive a_, String tag)voidsetAcl(List<ACL> m_)voidsetData(byte[] m_)voidsetEphemeral(boolean m_)voidsetPath(String m_)static Stringsignature()StringtoString()voidwrite(DataOutput out)
-
-
-
Method Detail
-
getPath
public String getPath()
-
setPath
public void setPath(String m_)
-
getData
public byte[] getData()
-
setData
public void setData(byte[] m_)
-
getEphemeral
public boolean getEphemeral()
-
setEphemeral
public void setEphemeral(boolean 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()
-
-