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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.reactivestreams.Publisher<T>aggregate(HealthIndicator[] indicators, HealthLevelOfDetail healthLevelOfDetail)org.reactivestreams.Publisher<HealthResult>aggregate(java.lang.String name, org.reactivestreams.Publisher<HealthResult> results)
-
-
-
Method Detail
-
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(java.lang.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.
-
-