Class CompositeReactiveHealthIndicatorFactory
- java.lang.Object
- org.springframework.boot.actuate.health.CompositeReactiveHealthIndicatorFactory
@Deprecated public class CompositeReactiveHealthIndicatorFactory extends Object
Deprecated.since 2.1.0 in favor ofCompositeReactiveHealthIndicator(HealthAggregator, ReactiveHealthIndicatorRegistry)
Factory to create aCompositeReactiveHealthIndicator
.- Since:
- 2.0.0
Constructor Summary
Constructors Constructor Description CompositeReactiveHealthIndicatorFactory()
Deprecated.CompositeReactiveHealthIndicatorFactory(Function<String,String> healthIndicatorNameFactory)
Deprecated.
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CompositeReactiveHealthIndicator
createReactiveHealthIndicator(HealthAggregator healthAggregator, Map<String,ReactiveHealthIndicator> reactiveHealthIndicators, Map<String,HealthIndicator> healthIndicators)
Deprecated.Create aCompositeReactiveHealthIndicator
based on the specified health indicators.
Constructor Detail
CompositeReactiveHealthIndicatorFactory
public CompositeReactiveHealthIndicatorFactory(Function<String,String> healthIndicatorNameFactory)
Deprecated.
CompositeReactiveHealthIndicatorFactory
public CompositeReactiveHealthIndicatorFactory()
Deprecated.
Method Detail
createReactiveHealthIndicator
public CompositeReactiveHealthIndicator createReactiveHealthIndicator(HealthAggregator healthAggregator, Map<String,ReactiveHealthIndicator> reactiveHealthIndicators, Map<String,HealthIndicator> healthIndicators)
Deprecated.Create aCompositeReactiveHealthIndicator
based on the specified health indicators. EachHealthIndicator
are wrapped to aHealthIndicatorReactiveAdapter
. If two instances share the same name, the reactive variant takes precedence.- Parameters:
healthAggregator
- theHealthAggregator
reactiveHealthIndicators
- theReactiveHealthIndicator
instances mapped by namehealthIndicators
- theHealthIndicator
instances mapped by name if any.- Returns:
- a
ReactiveHealthIndicator
that delegates to the specifiedreactiveHealthIndicators
.