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