PreVoteDenied

data class PreVoteDenied(val clock: Long, val node: NodeId, val to: NodeId, val proposedTerm: Long, val reasons: Set<DenyReason>) : RaftTraceEvent

Node denied a pre-vote to a candidate.

reasons is the attribution to assert against; reason is a derived projection of it. See VoteDenied and DenyReason.

Constructors

Link copied to clipboard
constructor(clock: Long, node: NodeId, to: NodeId, proposedTerm: Long, reasons: Set<DenyReason>)

Properties

Link copied to clipboard
open override val clock: Long

Logical monotonic clock — incremented on every emitted event.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The first-failing reason — see VoteDenied.reason. Prefer DenyReason.X in reasons.

Link copied to clipboard

Every conjunct of the pre-vote decision that failed — see VoteDenied.reasons.

Link copied to clipboard
val to: NodeId