Show / Hide Table of Contents

Interface IClusterMemberConfiguration

Represents configuration of cluster member.

Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
public interface IClusterMemberConfiguration

Properties

| Edit this page View Source

AggressiveLeaderStickiness

Gets a value indicating that the follower node should not try to upgrade to the candidate state if the leader is reachable via the network.

Declaration
bool AggressiveLeaderStickiness { get; }
Property Value
Type Description
bool
| Edit this page View Source

ClockDriftBound

A bound on clock drift across servers.

Declaration
double ClockDriftBound { get; }
Property Value
Type Description
double
Remarks

Over a given time period, no server’s clock increases more than this bound times any other.

| Edit this page View Source

ElectionTimeout

Gets leader election timeout settings.

Declaration
ElectionTimeout ElectionTimeout { get; }
Property Value
Type Description
ElectionTimeout
| Edit this page View Source

EndPointComparer

Gets comparer for endpoint address.

Declaration
IEqualityComparer<EndPoint> EndPointComparer { get; }
Property Value
Type Description
IEqualityComparer<EndPoint>
| Edit this page View Source

HeartbeatThreshold

Gets or sets threshold of the heartbeat timeout.

Declaration
double HeartbeatThreshold { get; }
Property Value
Type Description
double
Remarks

The threshold should be in range (0, 1). The heartbeat timeout is computed as node election timeout X threshold. The default is 0.5.

| Edit this page View Source

Standby

Gets a value indicating that the cluster member represents standby node which will never become a leader.

Declaration
bool Standby { get; }
Property Value
Type Description
bool

Extension Methods

BasicExtensions.As<T>(T)
BasicExtensions.GetUserData<T>(T)
BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, ReadOnlySpan<T>)
ExpressionBuilder.Const<T>(T)
AsyncLockAcquisition.AcquireLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireLockAsync<T>(T, TimeSpan, CancellationToken)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, TimeSpan, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, bool, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, bool, TimeSpan, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, TimeSpan, CancellationToken)
LockAcquisition.AcquireReadLock<T>(T)
LockAcquisition.AcquireReadLock<T>(T, TimeSpan)
LockAcquisition.AcquireUpgradeableReadLock<T>(T)
LockAcquisition.AcquireUpgradeableReadLock<T>(T, TimeSpan)
LockAcquisition.AcquireWriteLock<T>(T)
LockAcquisition.AcquireWriteLock<T>(T, TimeSpan)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾