java.lang.Object
org.jgroups.Header
org.jgroups.protocols.raft.RaftHeader
org.jgroups.protocols.raft.AppendEntriesResponse
- All Implemented Interfaces:
org.jgroups.Constructable<org.jgroups.Header>,org.jgroups.util.SizeStreamable,org.jgroups.util.Streamable
- Since:
- 0.1
- Author:
- Bela Ban
-
Field Summary
FieldsFields inherited from class org.jgroups.protocols.raft.RaftHeader
curr_termFields inherited from class org.jgroups.Header
prot_id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSupplier<? extends org.jgroups.Header> create()shortvoidinttoString()voidwriteTo(DataOutput out) Methods inherited from class org.jgroups.protocols.raft.RaftHeader
currTerm, currTermMethods inherited from class org.jgroups.Header
getProtId, setProtId
-
Field Details
-
result
-
-
Constructor Details
-
AppendEntriesResponse
public AppendEntriesResponse() -
AppendEntriesResponse
-
-
Method Details
-
getMagicId
public short getMagicId()- Specified by:
getMagicIdin classorg.jgroups.Header
-
create
-
serializedSize
public int serializedSize()- Specified by:
serializedSizein interfaceorg.jgroups.util.SizeStreamable- Overrides:
serializedSizein classRaftHeader
-
writeTo
- Specified by:
writeToin interfaceorg.jgroups.util.Streamable- Overrides:
writeToin classRaftHeader- Throws:
IOException
-
readFrom
- Specified by:
readFromin interfaceorg.jgroups.util.Streamable- Overrides:
readFromin classRaftHeader- Throws:
IOExceptionClassNotFoundException
-
toString
- Overrides:
toStringin classRaftHeader
-