类 CompositeReactiveHealthIndicatorFactory
- java.lang.Object
- org.springframework.boot.actuate.health.CompositeReactiveHealthIndicatorFactory
@Deprecated public class CompositeReactiveHealthIndicatorFactory extends Object
已过时。since 2.1.0 in favor ofCompositeReactiveHealthIndicator(HealthAggregator, ReactiveHealthIndicatorRegistry)
Factory to create aCompositeReactiveHealthIndicator
.- 从以下版本开始:
- 2.0.0
构造器概要
构造器 构造器 说明 CompositeReactiveHealthIndicatorFactory()
已过时。CompositeReactiveHealthIndicatorFactory(Function<String,String> healthIndicatorNameFactory)
已过时。
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 CompositeReactiveHealthIndicator
createReactiveHealthIndicator(HealthAggregator healthAggregator, Map<String,ReactiveHealthIndicator> reactiveHealthIndicators, Map<String,HealthIndicator> healthIndicators)
已过时。Create aCompositeReactiveHealthIndicator
based on the specified health indicators.
构造器详细资料
CompositeReactiveHealthIndicatorFactory
public CompositeReactiveHealthIndicatorFactory(Function<String,String> healthIndicatorNameFactory)
已过时。
CompositeReactiveHealthIndicatorFactory
public CompositeReactiveHealthIndicatorFactory()
已过时。
方法详细资料
createReactiveHealthIndicator
public CompositeReactiveHealthIndicator createReactiveHealthIndicator(HealthAggregator healthAggregator, Map<String,ReactiveHealthIndicator> reactiveHealthIndicators, Map<String,HealthIndicator> healthIndicators)
已过时。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.- 参数:
healthAggregator
- theHealthAggregator
reactiveHealthIndicators
- theReactiveHealthIndicator
instances mapped by namehealthIndicators
- theHealthIndicator
instances mapped by name if any.- 返回:
- a
ReactiveHealthIndicator
that delegates to the specifiedreactiveHealthIndicators
.