@Deprecated public class CompositeReactiveHealthIndicatorFactory extends Object
CompositeReactiveHealthIndicator
.Constructor and Description |
---|
CompositeReactiveHealthIndicatorFactory()
Deprecated.
|
CompositeReactiveHealthIndicatorFactory(Function<String,String> healthIndicatorNameFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
CompositeReactiveHealthIndicator |
createReactiveHealthIndicator(HealthAggregator healthAggregator,
Map<String,ReactiveHealthIndicator> reactiveHealthIndicators,
Map<String,HealthIndicator> healthIndicators)
Deprecated.
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 HealthAggregator
reactiveHealthIndicators
- 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.