类 CompositeHealthIndicatorFactory
- java.lang.Object
- org.springframework.boot.actuate.health.CompositeHealthIndicatorFactory
@Deprecated public class CompositeHealthIndicatorFactory extends Object
已过时。since 2.1.0 in favor ofCompositeHealthIndicator(HealthAggregator, HealthIndicatorRegistry)
Factory to create aCompositeHealthIndicator
.- 从以下版本开始:
- 2.0.0
构造器概要
构造器 构造器 说明 CompositeHealthIndicatorFactory()
已过时。CompositeHealthIndicatorFactory(Function<String,String> healthIndicatorNameFactory)
已过时。
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 CompositeHealthIndicator
createHealthIndicator(HealthAggregator healthAggregator, Map<String,HealthIndicator> healthIndicators)
已过时。Create aCompositeHealthIndicator
based on the specified health indicators.
构造器详细资料
CompositeHealthIndicatorFactory
public CompositeHealthIndicatorFactory()
已过时。
CompositeHealthIndicatorFactory
public CompositeHealthIndicatorFactory(Function<String,String> healthIndicatorNameFactory)
已过时。
方法详细资料
createHealthIndicator
public CompositeHealthIndicator createHealthIndicator(HealthAggregator healthAggregator, Map<String,HealthIndicator> healthIndicators)
已过时。Create aCompositeHealthIndicator
based on the specified health indicators.- 参数:
healthAggregator
- theHealthAggregator
healthIndicators
- theHealthIndicator
instances mapped by name- 返回:
- a
HealthIndicator
that delegates to the specifiedhealthIndicators
.