NoOp

data class NoOp(val srcMsgId: MessageId? = null, val termId: Long, val termSeq: Long? = null) : ReplicaMessage.ProtobufMessage

Constructors

Link copied to clipboard
constructor(srcMsgId: MessageId? = null, termId: Long, termSeq: Long? = null)

Properties

Link copied to clipboard
Link copied to clipboard
open override val termId: Long
Link copied to clipboard
open override val termSeq: Long?

Functions

Link copied to clipboard
override fun encode(): ByteArray
Link copied to clipboard
open override fun toLogMessage(): ReplicaLogMessage
Link copied to clipboard
open override fun withTermSeq(termSeq: Long): ReplicaMessage.NoOp

This message at termSeq — stamped by the term's append pump, which alone knows the position.