类 AbstractReactiveHealthIndicator
- java.lang.Object
- org.springframework.boot.actuate.health.AbstractReactiveHealthIndicator
- 所有已实现的接口:
ReactiveHealthIndicator
- 直接已知子类:
CassandraReactiveHealthIndicator
,CouchbaseReactiveHealthIndicator
,MongoReactiveHealthIndicator
,RedisReactiveHealthIndicator
public abstract class AbstractReactiveHealthIndicator extends Object implements ReactiveHealthIndicator
BaseReactiveHealthIndicator
implementations that encapsulates creation ofHealth
instance and error handling.- 从以下版本开始:
- 2.0.0
构造器概要
构造器 构造器 说明 AbstractReactiveHealthIndicator()
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 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.
构造器详细资料
AbstractReactiveHealthIndicator
public AbstractReactiveHealthIndicator()
方法详细资料
health
public final reactor.core.publisher.Mono<Health> health()
从接口复制的说明:ReactiveHealthIndicator
Provide the indicator of health.- 指定者:
health
在接口中ReactiveHealthIndicator
- 返回:
- a
Mono
that provides theHealth
doHealthCheck
protected abstract reactor.core.publisher.Mono<Health> doHealthCheck(Health.Builder builder)
Actual health check logic. If an error occurs in the pipeline it will be handled automatically.- 参数:
builder
- theHealth.Builder
to report health status and details- 返回:
- a
Mono
that provides theHealth