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 SourceAggressiveLeaderStickiness
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 |
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.
ElectionTimeout
Gets leader election timeout settings.
Declaration
ElectionTimeout ElectionTimeout { get; }
Property Value
Type | Description |
---|---|
ElectionTimeout |
EndPointComparer
Gets comparer for endpoint address.
Declaration
IEqualityComparer<EndPoint> EndPointComparer { get; }
Property Value
Type | Description |
---|---|
IEqualityComparer<EndPoint> |
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.
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 |