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()
ReactiveHealthIndicator
health
in interface ReactiveHealthIndicator
Mono
that provides the Health
protected abstract reactor.core.publisher.Mono<Health> doHealthCheck(Health.Builder builder)
builder
- the Health.Builder
to report health status and detailsMono
that provides the Health
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.