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 TypeMethodDescriptionint
void
deserialize
(InputArchive a_, String tag) boolean
getAcl()
byte[]
getData()
int
getFlags()
getPath()
long
getTtl()
int
hashCode()
void
readFields
(DataInput in) void
serialize
(OutputArchive a_, String tag) void
void
setData
(byte[] m_) void
setFlags
(int m_) void
void
setTtl
(long m_) static String
toString()
void
write
(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:
serialize
in interfaceRecord
- Throws:
IOException
-
deserialize
- Specified by:
deserialize
in interfaceRecord
- Throws:
IOException
-
toString
-
write
- Throws:
IOException
-
readFields
- Throws:
IOException
-
compareTo
- Throws:
ClassCastException
-
equals
-
hashCode
public int hashCode() -
signature
-