Package org.apache.zookeeper.txn
Class CreateTTLTxn
java.lang.Object
org.apache.zookeeper.txn.CreateTTLTxn
- All Implemented Interfaces:
Record
-
Constructor Summary
ConstructorsConstructorDescriptionCreateTTLTxn(String path, byte[] data, List<ACL> acl, int parentCVersion, long ttl) -
Method Summary
Modifier and TypeMethodDescriptionintvoiddeserialize(InputArchive a_, String tag) booleangetAcl()byte[]getData()intgetPath()longgetTtl()inthashCode()voidreadFields(DataInput in) voidserialize(OutputArchive a_, String tag) voidvoidsetData(byte[] m_) voidsetParentCVersion(int m_) voidvoidsetTtl(long m_) static StringtoString()voidwrite(DataOutput out)
-
Constructor Details
-
CreateTTLTxn
public CreateTTLTxn() -
CreateTTLTxn
-
-
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_) -
getTtl
public long getTtl() -
setTtl
public void setTtl(long 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
-