T
- The aggregator typepublic interface HealthAggregator<T extends HealthResult>
Aggregates all registered health indicators into a single response.
Modifier and Type | Method and Description |
---|---|
Publisher<T> |
aggregate(HealthIndicator[] indicators,
HealthLevelOfDetail healthLevelOfDetail) |
Publisher<HealthResult> |
aggregate(String name,
Publisher<HealthResult> results) |
Publisher<T> aggregate(HealthIndicator[] indicators, HealthLevelOfDetail healthLevelOfDetail)
indicators
- The health indicators to aggregate.healthLevelOfDetail
- The HealthLevelOfDetail
Publisher<HealthResult> aggregate(String name, Publisher<HealthResult> results)
name
- The name of the new health resultresults
- The health results to aggregate.HealthResult
.