public class CompositeReactiveHealthIndicatorFactory extends Object
CompositeReactiveHealthIndicator.| Constructor and Description |
|---|
CompositeReactiveHealthIndicatorFactory() |
CompositeReactiveHealthIndicatorFactory(Function<String,String> healthIndicatorNameFactory) |
| Modifier and Type | Method and Description |
|---|---|
CompositeReactiveHealthIndicator |
createReactiveHealthIndicator(HealthAggregator healthAggregator,
Map<String,ReactiveHealthIndicator> reactiveHealthIndicators,
Map<String,HealthIndicator> healthIndicators)
Create a
CompositeReactiveHealthIndicator based on the specified health
indicators. |
public CompositeReactiveHealthIndicatorFactory(Function<String,String> healthIndicatorNameFactory)
public CompositeReactiveHealthIndicatorFactory()
public CompositeReactiveHealthIndicator createReactiveHealthIndicator(HealthAggregator healthAggregator, Map<String,ReactiveHealthIndicator> reactiveHealthIndicators, Map<String,HealthIndicator> healthIndicators)
CompositeReactiveHealthIndicator based on the specified health
indicators. Each HealthIndicator are wrapped to a
HealthIndicatorReactiveAdapter. If two instances share the same name, the
reactive variant takes precedence.healthAggregator - the HealthAggregatorreactiveHealthIndicators - the ReactiveHealthIndicator instances
mapped by namehealthIndicators - the HealthIndicator instances mapped by name if
any.ReactiveHealthIndicator that delegates to the specified
reactiveHealthIndicators.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.