Package org.apache.zookeeper.proto
Class CreateTTLRequest
java.lang.Object
org.apache.zookeeper.proto.CreateTTLRequest
- All Implemented Interfaces:
Record
-
Constructor Summary
ConstructorsConstructorDescriptionCreateTTLRequest(String path, byte[] data, List<ACL> acl, int flags, long ttl) -
Method Summary
Modifier and TypeMethodDescriptionintvoiddeserialize(InputArchive a_, String tag) booleangetAcl()byte[]getData()intgetFlags()getPath()longgetTtl()inthashCode()voidreadFields(DataInput in) voidserialize(OutputArchive a_, String tag) voidvoidsetData(byte[] m_) voidsetFlags(int m_) voidvoidsetTtl(long m_) static StringtoString()voidwrite(DataOutput out)
-
Constructor Details
-
CreateTTLRequest
public CreateTTLRequest() -
CreateTTLRequest
-
-
Method Details
-
getPath
-
setPath
-
getData
public byte[] getData() -
setData
public void setData(byte[] m_) -
getAcl
-
setAcl
-
getFlags
public int getFlags() -
setFlags
public void setFlags(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
-