Ejemplo n.º 1
0
        public override Task ProcessNodeHealthAsync(NodeEntity node)
        {
            ServiceEventSource.Current.Message($"node: {node}, aggregatedHealth: {node.Health.AggregatedHealthState}");

            node.Health.HealthEvents
            .ForEachHealthEvent(healthEvent =>
            {
                ServiceEventSource.Current.Message($"node: {node}, health: {healthEvent}");
            });

            return(this.completedTask);
        }
Ejemplo n.º 2
0
 public abstract Task ProcessNodeHealthAsync(NodeEntity nodeHealth);