Class ElasticsearchRestClientHealthIndicator
java.lang.Object
org.springframework.boot.health.contributor.AbstractHealthIndicator
org.springframework.boot.elasticsearch.health.ElasticsearchRestClientHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.health.contributor.HealthContributor, org.springframework.boot.health.contributor.HealthIndicator
public class ElasticsearchRestClientHealthIndicator
extends org.springframework.boot.health.contributor.AbstractHealthIndicator
HealthIndicator for an Elasticsearch cluster using a Rest5Client.- Since:
- 4.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionElasticsearchRestClientHealthIndicator(co.elastic.clients.transport.rest5_client.low_level.Rest5Client client) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoHealthCheck(org.springframework.boot.health.contributor.Health.Builder builder) Methods inherited from class org.springframework.boot.health.contributor.AbstractHealthIndicator
healthMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.health.contributor.HealthIndicator
health
-
Constructor Details
-
ElasticsearchRestClientHealthIndicator
public ElasticsearchRestClientHealthIndicator(co.elastic.clients.transport.rest5_client.low_level.Rest5Client client)
-
-
Method Details
-
doHealthCheck
-