public override Task ProcessReplicaHealthAsync(ReplicaEntity replica) { ServiceEventSource.Current.Message($"replica: {replica}, aggregatedHealth: {replica.Health.AggregatedHealthState}"); if (replica.IsHealthEventReportingEnabled( replica.ApplicationName, replica.Health.AggregatedHealthState)) { replica.Health.HealthEvents .ForEachHealthEvent(healthEvent => { ServiceEventSource.Current.Message($"replica: {replica}, health: {healthEvent}"); }); } return(this.completedTask); }
public abstract Task ProcessReplicaHealthAsync(ReplicaEntity replica);