Show / Hide Table of Contents

Enum PreVoteResult

Represents a result of pre-voting phase.

Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
public enum PreVoteResult : byte

Fields

Name Description
Accepted

Indicates that the remote node supposes that the leader is not alive.

RejectedByFollower

Indicates that the remote node supposes that the leader is alive.

RejectedByLeader

Indicates that the remote node is a leader.

Extension Methods

BasicExtensions.IsBetween<PreVoteResult, TLowerBound, TUpperBound>(PreVoteResult, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<PreVoteResult>(PreVoteResult, ReadOnlySpan<PreVoteResult>)
Collection.ToAsyncEnumerator<PreVoteResult, T>(PreVoteResult, CancellationToken)
Collection.ToClassicEnumerator<PreVoteResult, T>(PreVoteResult)
Enumerator.Skip<PreVoteResult, T>(ref PreVoteResult, int)
ExpressionBuilder.Const<PreVoteResult>(PreVoteResult)
EnumType.GetCustomAttribute<PreVoteResult, TAttribute>(PreVoteResult)
EnumType.GetCustomAttributes<PreVoteResult, TAttribute>(PreVoteResult)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾