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 TypeMethodDescriptionintvoiddeserialize(InputArchive a_, String tag) booleanlonginthashCode()voidreadFields(DataInput in) voidserialize(OutputArchive a_, String tag) voidsetCurConfigId(long m_) voidvoidvoidsetNewMembers(String m_) static StringtoString()voidwrite(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:
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
-