Class NoopPayload
- java.lang.Object
-
- org.opendaylight.controller.cluster.raft.messages.Payload
-
- org.opendaylight.controller.cluster.raft.persisted.NoopPayload
-
- All Implemented Interfaces:
ControlMessage
,Serializable
public final class NoopPayload extends Payload implements ControlMessage
Payload used for no-op log entries that are put into the journal by the PreLeader in order to commit entries from the prior term.- Author:
- Thomas Pantelis
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NoopPayload
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
size()
Return the estimate of in-memory size of this payload.protected Object
writeReplace()
Return the serialization proxy for this object.
-
-
-
Field Detail
-
INSTANCE
public static final NoopPayload INSTANCE
-
-
Method Detail
-
size
public int size()
Description copied from class:Payload
Return the estimate of in-memory size of this payload.
-
writeReplace
protected Object writeReplace()
Description copied from class:Payload
Return the serialization proxy for this object.- Specified by:
writeReplace
in classPayload
- Returns:
- Serialization proxy
-
-