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