Class ClusterTopology

Assembly: redb.Tsak.Contracts.dll

Snapshot of the entire cluster state read from redb.

public class ClusterTopology

Inheritance

Object→ClusterTopology

Properties

Assignments

public List<AssignmentInfo> Assignments { get; set; }

ClusterName

public string ClusterName { get; set; }

Groups

public List<GroupInfo> Groups { get; set; }

Leader

Leader of the FIRST group with one — kept for wire compatibility. Leadership is

public LeaderInfo? Leader { get; set; }

Leaders

Per-group leaders, keyed by group name.

public Dictionary<string, LeaderInfo> Leaders { get; set; }

Nodes

public List<NodeInfo> Nodes { get; set; }