Package org.apache.zookeeper.proto
Class ReconfigRequest
java.lang.Object
org.apache.zookeeper.proto.ReconfigRequest
- All Implemented Interfaces:
Record
-
Constructor Summary
ConstructorsConstructorDescriptionReconfigRequest
(String joiningServers, String leavingServers, String newMembers, long curConfigId) -
Method Summary
Modifier and TypeMethodDescriptionint
void
deserialize
(InputArchive a_, String tag) boolean
long
int
hashCode()
void
readFields
(DataInput in) void
serialize
(OutputArchive a_, String tag) void
setCurConfigId
(long m_) void
void
void
setNewMembers
(String m_) static String
toString()
void
write
(DataOutput out)
-
Constructor Details
-
ReconfigRequest
public ReconfigRequest() -
ReconfigRequest
-
-
Method Details
-
getJoiningServers
-
setJoiningServers
-
getLeavingServers
-
setLeavingServers
-
getNewMembers
-
setNewMembers
-
getCurConfigId
public long getCurConfigId() -
setCurConfigId
public void setCurConfigId(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
-