Package org.apache.zookeeper.txn
Class CreateTTLTxn
- java.lang.Object
-
- org.apache.zookeeper.txn.CreateTTLTxn
-
-
Constructor Summary
Constructors Constructor Description CreateTTLTxn()
CreateTTLTxn(java.lang.String path, byte[] data, java.util.List<ACL> acl, int parentCVersion, long ttl)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(java.lang.Object peer_)
void
deserialize(InputArchive a_, java.lang.String tag)
boolean
equals(java.lang.Object peer_)
java.util.List<ACL>
getAcl()
byte[]
getData()
int
getParentCVersion()
java.lang.String
getPath()
long
getTtl()
int
hashCode()
void
readFields(java.io.DataInput in)
void
serialize(OutputArchive a_, java.lang.String tag)
void
setAcl(java.util.List<ACL> m_)
void
setData(byte[] m_)
void
setParentCVersion(int m_)
void
setPath(java.lang.String m_)
void
setTtl(long m_)
static java.lang.String
signature()
java.lang.String
toString()
void
write(java.io.DataOutput out)
-
-
-
Constructor Detail
-
CreateTTLTxn
public CreateTTLTxn()
-
CreateTTLTxn
public CreateTTLTxn(java.lang.String path, byte[] data, java.util.List<ACL> acl, int parentCVersion, long ttl)
-
-
Method Detail
-
getPath
public java.lang.String getPath()
-
setPath
public void setPath(java.lang.String m_)
-
getData
public byte[] getData()
-
setData
public void setData(byte[] m_)
-
getAcl
public java.util.List<ACL> getAcl()
-
setAcl
public void setAcl(java.util.List<ACL> m_)
-
getParentCVersion
public int getParentCVersion()
-
setParentCVersion
public void setParentCVersion(int m_)
-
getTtl
public long getTtl()
-
setTtl
public void setTtl(long m_)
-
serialize
public void serialize(OutputArchive a_, java.lang.String tag) throws java.io.IOException
-
deserialize
public void deserialize(InputArchive a_, java.lang.String tag) throws java.io.IOException
- Specified by:
deserialize
in interfaceRecord
- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
write
public void write(java.io.DataOutput out) throws java.io.IOException
- Throws:
java.io.IOException
-
readFields
public void readFields(java.io.DataInput in) throws java.io.IOException
- Throws:
java.io.IOException
-
compareTo
public int compareTo(java.lang.Object peer_) throws java.lang.ClassCastException
- Throws:
java.lang.ClassCastException
-
equals
public boolean equals(java.lang.Object peer_)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
signature
public static java.lang.String signature()
-
-