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
- Author:
- James Kleeh
-
Method Summary
Modifier and TypeMethodDescriptionaggregate(HealthIndicator[] indicators, HealthLevelOfDetail healthLevelOfDetail) aggregate(String name, Publisher<HealthResult> results)
-
Method Details
-
aggregate
- Parameters:
indicators- The health indicators to aggregate.healthLevelOfDetail- TheHealthLevelOfDetail- Returns:
- An aggregated response.
-
aggregate
- Parameters:
name- The name of the new health resultresults- The health results to aggregate.- Returns:
- An aggregated
HealthResult.
-