Struct RaftCluster<TMember>.MemberCollectionBuilder
Represents collection of cluster members stored in the memory of the current process.
Inherited Members
Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
protected struct MemberCollectionBuilder
Methods
| Improve this Doc View SourceAdd(TMember)
Adds new cluster member.
Declaration
public void Add(TMember member)
Parameters
| Type | Name | Description |
|---|---|---|
| TMember | member | A new member to be added into in-memory collection. |
GetEnumerator()
Returns enumerator over cluster members.
Declaration
public RaftCluster<TMember>.MemberCollectionBuilder.Enumerator GetEnumerator()
Returns
| Type | Description |
|---|---|
| RaftCluster.MemberCollectionBuilder.Enumerator<> | The enumerator over cluster members. |