Class DataElasticsearchReactiveHealthIndicator

java.lang.Object
org.springframework.boot.health.contributor.AbstractReactiveHealthIndicator
org.springframework.boot.data.elasticsearch.health.DataElasticsearchReactiveHealthIndicator
All Implemented Interfaces:
org.springframework.boot.health.contributor.ReactiveHealthContributor, org.springframework.boot.health.contributor.ReactiveHealthIndicator

public class DataElasticsearchReactiveHealthIndicator extends org.springframework.boot.health.contributor.AbstractReactiveHealthIndicator
HealthIndicator for an Elasticsearch cluster using a ReactiveElasticsearchClient.
Since:
4.0.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    DataElasticsearchReactiveHealthIndicator(org.springframework.data.elasticsearch.client.elc.ReactiveElasticsearchClient client)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected reactor.core.publisher.Mono<org.springframework.boot.health.contributor.Health>
    doHealthCheck(org.springframework.boot.health.contributor.Health.Builder builder)
     

    Methods inherited from class org.springframework.boot.health.contributor.AbstractReactiveHealthIndicator

    health

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.boot.health.contributor.ReactiveHealthIndicator

    asHealthContributor, health
  • Constructor Details

    • DataElasticsearchReactiveHealthIndicator

      public DataElasticsearchReactiveHealthIndicator(org.springframework.data.elasticsearch.client.elc.ReactiveElasticsearchClient client)
  • Method Details

    • doHealthCheck

      protected reactor.core.publisher.Mono<org.springframework.boot.health.contributor.Health> doHealthCheck(org.springframework.boot.health.contributor.Health.Builder builder)
      Specified by:
      doHealthCheck in class org.springframework.boot.health.contributor.AbstractReactiveHealthIndicator