Class HealthIndicatorReactiveAdapter
- java.lang.Object
- org.springframework.boot.actuate.health.HealthIndicatorReactiveAdapter
- All Implemented Interfaces:
ReactiveHealthIndicator
public class HealthIndicatorReactiveAdapter extends Object implements ReactiveHealthIndicator
Adapts aHealthIndicator
to aReactiveHealthIndicator
so that it can be safely invoked in a reactive environment.- Since:
- 2.0.0
Constructor Summary
Constructors Constructor Description HealthIndicatorReactiveAdapter(HealthIndicator delegate)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<Health>
health()
Provide the indicator of health.
Constructor Detail
HealthIndicatorReactiveAdapter
public HealthIndicatorReactiveAdapter(HealthIndicator delegate)
Method Detail
health
public reactor.core.publisher.Mono<Health> health()
Description copied from interface:ReactiveHealthIndicator
Provide the indicator of health.- Specified by:
health
in interfaceReactiveHealthIndicator
- Returns:
- a
Mono
that provides theHealth