CompositeReactiveHealthContributor
@Deprecated public class CompositeReactiveHealthIndicator extends Object implements ReactiveHealthIndicator
ReactiveHealthIndicator
that returns health indications from all registered
delegates. Provides an alternative Health
for a delegate that reaches a
configurable timeout.Constructor and Description |
---|
CompositeReactiveHealthIndicator(HealthAggregator healthAggregator,
ReactiveHealthIndicatorRegistry registry)
Deprecated.
Create a new
CompositeReactiveHealthIndicator from the indicators in the
given registry . |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Health> |
health()
Deprecated.
Provide the indicator of health.
|
CompositeReactiveHealthIndicator |
timeoutStrategy(long timeout,
Health timeoutHealth)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHealth
adapt
public CompositeReactiveHealthIndicator(HealthAggregator healthAggregator, ReactiveHealthIndicatorRegistry registry)
CompositeReactiveHealthIndicator
from the indicators in the
given registry
.healthAggregator
- the health aggregatorregistry
- the registry of HealthIndicators
.public CompositeReactiveHealthIndicator timeoutStrategy(long timeout, Health timeoutHealth)
timeout
- number of milliseconds to wait before using the
timeoutHealth
timeoutHealth
- the Health
to use if an health indicator reached the
timeout
public reactor.core.publisher.Mono<Health> health()
ReactiveHealthIndicator
health
in interface ReactiveHealthIndicator
Mono
that provides the Health
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.