Class NodeSwitchEntry

Assembly: redb.Tsak.Web.dll

One node as the node switcher lists it.

public sealed record NodeSwitchEntry : IEquatable<NodeSwitchEntry>

Inheritance

Object→NodeSwitchEntry

Implements

Properties

Cordoned

Whether the node takes no new work.

public bool Cordoned { get; init; }

GroupName

The cluster group the node belongs to.

public string GroupName { get; init; }

Hostname

The node's host name.

public string Hostname { get; init; }

IsAlive

Whether the node is up.

public bool IsAlive { get; init; }

IsLeader

Whether the node leads its group.

public bool IsLeader { get; init; }

LastHeartbeat

The node's last heartbeat.

public DateTimeOffset LastHeartbeat { get; init; }

NodeId

The node id, as in the address.

public string NodeId { get; init; }

Version

The node's version.

public string Version { get; init; }

Constructors