DefaultReactiveHealthIndicatorRegistry
@Deprecated public class ReactiveHealthIndicatorRegistryFactory extends Object
HealthIndicatorRegistry
.Constructor and Description |
---|
ReactiveHealthIndicatorRegistryFactory()
Deprecated.
|
ReactiveHealthIndicatorRegistryFactory(Function<String,String> healthIndicatorNameFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ReactiveHealthIndicatorRegistry |
createReactiveHealthIndicatorRegistry(Map<String,ReactiveHealthIndicator> reactiveHealthIndicators,
Map<String,HealthIndicator> healthIndicators)
Deprecated.
Create a
ReactiveHealthIndicatorRegistry based on the specified health
indicators. |
protected <T extends ReactiveHealthIndicatorRegistry> |
initialize(T registry,
Map<String,ReactiveHealthIndicator> reactiveHealthIndicators,
Map<String,HealthIndicator> healthIndicators)
Deprecated.
|
public ReactiveHealthIndicatorRegistryFactory(Function<String,String> healthIndicatorNameFactory)
public ReactiveHealthIndicatorRegistryFactory()
public ReactiveHealthIndicatorRegistry createReactiveHealthIndicatorRegistry(Map<String,ReactiveHealthIndicator> reactiveHealthIndicators, Map<String,HealthIndicator> healthIndicators)
ReactiveHealthIndicatorRegistry
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.reactiveHealthIndicators
- the ReactiveHealthIndicator
instances
mapped by namehealthIndicators
- the HealthIndicator
instances mapped by name if
any.ReactiveHealthIndicator
that delegates to the specified
reactiveHealthIndicators
.protected <T extends ReactiveHealthIndicatorRegistry> T initialize(T registry, Map<String,ReactiveHealthIndicator> reactiveHealthIndicators, Map<String,HealthIndicator> healthIndicators)