Class ElasticsearchHealthCheck

  • All Implemented Interfaces:
    org.eclipse.microprofile.health.HealthCheck

    @Readiness
    @ApplicationScoped
    public class ElasticsearchHealthCheck
    extends Object
    implements org.eclipse.microprofile.health.HealthCheck
    • Field Detail

      • restClient

        @Inject
        org.elasticsearch.client.RestClient restClient
    • Constructor Detail

      • ElasticsearchHealthCheck

        public ElasticsearchHealthCheck()
    • Method Detail

      • call

        public org.eclipse.microprofile.health.HealthCheckResponse call()
        Specified by:
        call in interface org.eclipse.microprofile.health.HealthCheck