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 Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<T>aggregate(HealthIndicator[] indicators, HealthLevelOfDetail healthLevelOfDetail) org.reactivestreams.Publisher<HealthResult>aggregate(String name, org.reactivestreams.Publisher<HealthResult> results)
-
Method Details
-
aggregate
org.reactivestreams.Publisher<T> aggregate(HealthIndicator[] indicators, HealthLevelOfDetail healthLevelOfDetail) - Parameters:
indicators- The health indicators to aggregate.healthLevelOfDetail- TheHealthLevelOfDetail- 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 resultresults- The health results to aggregate.- Returns:
- An aggregated
HealthResult.
-