eabf270d71
Resolve all 622 issues flagged by the enhanced CommentChecker: add missing <returns> tags (incl. the standard phrasing on non-generic Task methods), add missing <summary> tags, and replace misused/redundant <inheritdoc/> on members that override or implement nothing with real documentation. Documentation-only — no behavior change; solution builds clean.
22 lines
862 B
C#
22 lines
862 B
C#
using ZB.MOM.WW.ScadaBridge.Commons.Messages.Health;
|
|
|
|
namespace ZB.MOM.WW.ScadaBridge.HealthMonitoring;
|
|
|
|
/// <summary>
|
|
/// Provides cluster node status information for health reporting.
|
|
/// Implemented by the Host project which has access to the Akka.NET actor system.
|
|
/// </summary>
|
|
public interface IClusterNodeProvider
|
|
{
|
|
/// <summary>Returns the current status of all cluster nodes for the provider's role scope.</summary>
|
|
/// <returns>A read-only list of node status records for all known cluster nodes.</returns>
|
|
IReadOnlyList<NodeStatus> GetClusterNodes();
|
|
|
|
/// <summary>
|
|
/// True when this node is currently the cluster leader (Primary) for the
|
|
/// provider's role scope. Used by the central report loop to decide which
|
|
/// node should generate the "central" health report.
|
|
/// </summary>
|
|
bool SelfIsPrimary { get; }
|
|
}
|