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