Class QuorumPacket
java.lang.Object
org.apache.zookeeper.server.quorum.QuorumPacket
- All Implemented Interfaces:
Record
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoiddeserialize(InputArchive a_, String tag) booleanbyte[]getData()intgetType()longgetZxid()inthashCode()voidreadFields(DataInput in) voidserialize(OutputArchive a_, String tag) voidsetAuthinfo(List<Id> m_) voidsetData(byte[] m_) voidsetType(int m_) voidsetZxid(long m_) static StringtoString()voidwrite(DataOutput out)
-
Constructor Details
-
QuorumPacket
public QuorumPacket() -
QuorumPacket
-
-
Method Details
-
getType
public int getType() -
setType
public void setType(int m_) -
getZxid
public long getZxid() -
setZxid
public void setZxid(long m_) -
getData
public byte[] getData() -
setData
public void setData(byte[] m_) -
getAuthinfo
-
setAuthinfo
-
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
-