DotNext.Net.Cluster by .NET Foundation and Contributors

<PackageReference Include="DotNext.Net.Cluster" Version="4.0.0-beta.2" />

 IRaftCluster

Represents cluster of nodes coordinated using Raft consensus protocol.

Defines persistent state for the Raft-based cluster.

Gets election timeout used by local cluster member.

Gets the token that can be used to track leader state.

Gets the lease that can be used to perform read with linerizability guarantees.

Gets a set of visible cluster members.

Task Readiness { get; }

Represents a task indicating that the current node is ready to serve requests.

long Term { get; }

Gets term number used by Raft algorithm to check the consistency of the cluster.