CompositeHealthContributor@Deprecated public class CompositeHealthIndicator extends java.lang.Object implements HealthIndicator
HealthIndicator that returns health indications from all registered delegates.| Constructor and Description |
|---|
CompositeHealthIndicator(HealthAggregator healthAggregator,
HealthIndicatorRegistry registry)
Deprecated.
Create a new
CompositeHealthIndicator from the indicators in the given
registry. |
CompositeHealthIndicator(HealthAggregator healthAggregator,
java.util.Map<java.lang.String,HealthIndicator> indicators)
Deprecated.
Create a new
CompositeHealthIndicator from the specified indicators. |
| Modifier and Type | Method and Description |
|---|---|
HealthIndicatorRegistry |
getRegistry()
Deprecated.
Return the
HealthIndicatorRegistry of this instance. |
Health |
health()
Deprecated.
Return an indication of health.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHealthpublic CompositeHealthIndicator(HealthAggregator healthAggregator, java.util.Map<java.lang.String,HealthIndicator> indicators)
CompositeHealthIndicator from the specified indicators.healthAggregator - the health aggregatorindicators - a map of HealthIndicators with the key
being used as an indicator name.public CompositeHealthIndicator(HealthAggregator healthAggregator, HealthIndicatorRegistry registry)
CompositeHealthIndicator from the indicators in the given
registry.healthAggregator - the health aggregatorregistry - the registry of HealthIndicators.public HealthIndicatorRegistry getRegistry()
HealthIndicatorRegistry of this instance.health indicatorspublic Health health()
HealthIndicatorhealth in interface HealthIndicator