namespace ZB.MOM.WW.OtOpcUa.Core.Abstractions; /// /// Point-in-time state of a single historian cluster node, included inside /// when the backend is clustered. /// /// Node identifier — backend-specific (typically a hostname). /// True when the node is currently considered usable for reads. /// When the next retry against an unhealthy node is allowed; null when no cooldown is active. /// Consecutive failures observed against this node since the last success. /// Diagnostic text from the last failure against this node; null when no failures. /// UTC of the last failure against this node; null when no failures. public sealed record HistorianClusterNodeState( string Name, bool IsHealthy, DateTime? CooldownUntil, int FailureCount, string? LastError, DateTime? LastFailureTime);