Interface IClusterMemberConfiguration
Represents configuration of cluster member.
Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
public interface IClusterMemberConfiguration
  Properties
| Improve this Doc View SourceElectionTimeout
Gets leader election timeout settings.
Declaration
ElectionTimeout ElectionTimeout { get; }
  Property Value
| Type | Description | 
|---|---|
| ElectionTimeout | 
HeartbeatThreshold
Gets or sets threshold of the heartbeat timeout.
Declaration
double HeartbeatThreshold { get; set; }
  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.
Partitioning
Indicates that each part of cluster in partitioned network allow to elect its own leader.
Declaration
bool Partitioning { get; }
  Property Value
| Type | Description | 
|---|---|
| Boolean | 
Remarks
false value allows to build CA distributed cluster while true value allows to build CP/AP distributed cluster.