Interface HealthAggregator<T extends HealthResult>

Type Parameters:
T - The aggregator type
All Known Implementing Classes:
DefaultHealthAggregator

public interface HealthAggregator<T extends HealthResult>

Aggregates all registered health indicators into a single response.

Since:
1.0
  • Method Details

    • aggregate

      org.reactivestreams.Publisher<T> aggregate(HealthIndicator[] indicators, HealthLevelOfDetail healthLevelOfDetail)
      Parameters:
      indicators - The health indicators to aggregate.
      healthLevelOfDetail - The HealthLevelOfDetail
      Returns:
      An aggregated response.
    • aggregate

      org.reactivestreams.Publisher<HealthResult> aggregate(String name, org.reactivestreams.Publisher<HealthResult> results)
      Parameters:
      name - The name of the new health result
      results - The health results to aggregate.
      Returns:
      An aggregated HealthResult.