public class CompositeHealthIndicatorFactory extends Object
CompositeHealthIndicator
.Constructor and Description |
---|
CompositeHealthIndicatorFactory() |
CompositeHealthIndicatorFactory(Function<String,String> healthIndicatorNameFactory) |
Modifier and Type | Method and Description |
---|---|
CompositeHealthIndicator |
createHealthIndicator(HealthAggregator healthAggregator,
Map<String,HealthIndicator> healthIndicators)
Create a
CompositeHealthIndicator based on the specified health indicators. |
public CompositeHealthIndicatorFactory(Function<String,String> healthIndicatorNameFactory)
public CompositeHealthIndicatorFactory()
public CompositeHealthIndicator createHealthIndicator(HealthAggregator healthAggregator, Map<String,HealthIndicator> healthIndicators)
CompositeHealthIndicator
based on the specified health indicators.healthAggregator
- the HealthAggregator
healthIndicators
- the HealthIndicator
instances mapped by nameHealthIndicator
that delegates to the specified
healthIndicators
.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.