Show / Hide Table of Contents

Interface IRaftCluster

Represents cluster of nodes coordinated using Raft consensus protocol.

Inherited Members
IReplicationCluster<IRaftLogEntry>.WriteAsync<TEntryImpl>(ILogEntryProducer<TEntryImpl>, WriteConcern, TimeSpan)
ICluster.Leader
ICluster.Members
ICluster.LeaderChanged
ICluster.ResignAsync(CancellationToken)
Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
public interface IRaftCluster : IReplicationCluster<IRaftLogEntry>, IReplicationCluster, ICluster

Properties

| Improve this Doc View Source

AuditTrail

Defines persistent state for the Raft-based cluster.

Declaration
IPersistentState AuditTrail { get; set; }
Property Value
Type Description
IPersistentState
| Improve this Doc View Source

ElectionTimeout

Gets election timeout used by local cluster member.

Declaration
TimeSpan ElectionTimeout { get; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

Metrics

Establishes metrics collector.

Declaration
MetricsCollector Metrics { set; }
Property Value
Type Description
MetricsCollector
| Improve this Doc View Source

Term

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

Declaration
long Term { get; }
Property Value
Type Description
Int64

Extension Methods

AsyncLockAcquisition.AcquireLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireUpgradeableReadLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireUpgradeableReadLockAsync<T>(T, CancellationToken)
ExpressionBuilder.Const<T>(T)
ObjectExtensions.GetUserData<T>(T)
ObjectExtensions.IsOneOf<T>(T, IEnumerable<T>)
ObjectExtensions.IsOneOf<T>(T, T[])
ObjectExtensions.Decompose<T, R1, R2>(T, Func<T, R1>, Func<T, R2>, out R1, out R2)
ObjectExtensions.Decompose<T, R1, R2>(T, ValueFunc<T, R1>, ValueFunc<T, R2>, out R1, out R2)
ObjectExtensions.Decompose<T, R1, R2>(T, Func<T, R1>, Func<T, R2>)
ObjectExtensions.Decompose<T, R1, R2>(T, ValueFunc<T, R1>, ValueFunc<T, R2>)
LockAcquisition.AcquireReadLock<T>(T)
LockAcquisition.AcquireReadLock<T>(T, TimeSpan)
LockAcquisition.AcquireWriteLock<T>(T)
LockAcquisition.AcquireWriteLock<T>(T, TimeSpan)
LockAcquisition.AcquireUpgradeableReadLock<T>(T)
LockAcquisition.AcquireUpgradeableReadLock<T>(T, TimeSpan)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX