public abstract class AbstractReactiveHealthIndicator extends Object implements ReactiveHealthIndicator
ReactiveHealthIndicator implementations that encapsulates creation of
Health instance and error handling.| Constructor and Description |
|---|
AbstractReactiveHealthIndicator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract reactor.core.publisher.Mono<Health> |
doHealthCheck(Health.Builder builder)
Actual health check logic.
|
reactor.core.publisher.Mono<Health> |
health()
Provide the indicator of health.
|
public final reactor.core.publisher.Mono<Health> health()
ReactiveHealthIndicatorhealth in interface ReactiveHealthIndicatorMono that provides the Healthprotected abstract reactor.core.publisher.Mono<Health> doHealthCheck(Health.Builder builder)
builder - the Health.Builder to report health status and detailsMono that provides the HealthCopyright © 2019 Pivotal Software, Inc.. All rights reserved.