接口 ReactiveHealthIndicator

所有超级接口:
ReactiveHealthContributor
所有已知实现类:
AbstractReactiveHealthIndicator, CassandraDriverReactiveHealthIndicator, ConnectionFactoryHealthIndicator, CouchbaseReactiveHealthIndicator, ElasticsearchReactiveHealthIndicator, MongoReactiveHealthIndicator, Neo4jReactiveHealthIndicator, RedisReactiveHealthIndicator
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public interface ReactiveHealthIndicator extends ReactiveHealthContributor
Strategy interface used to contribute Health to the results returned from the reactive variant of the HealthEndpoint.

This is non-blocking contract that is meant to be used in a reactive application. See HealthIndicator for the traditional contract.

从以下版本开始:
2.0.0
作者:
Stephane Nicoll
另请参阅:
  • 方法概要

    修饰符和类型
    方法
    说明
    default reactor.core.publisher.Mono<Health>
    getHealth(boolean includeDetails)
    Provide the indicator of health.
    reactor.core.publisher.Mono<Health>
    Provide the indicator of health.
  • 方法详细资料

    • getHealth

      default reactor.core.publisher.Mono<Health> getHealth(boolean includeDetails)
      Provide the indicator of health.
      参数:
      includeDetails - if details should be included or removed
      返回:
      a Mono that provides the Health
      从以下版本开始:
      2.2.0
    • health

      reactor.core.publisher.Mono<Health> health()
      Provide the indicator of health.
      返回:
      a Mono that provides the Health