org.springframework.boot.actuate.elasticsearch

Class ElasticsearchHealthIndicator

    • Constructor Detail

      • ElasticsearchHealthIndicator

        public ElasticsearchHealthIndicator(org.elasticsearch.client.Client client,
                                            long responseTimeout,
                                            List<String> indices)
        Create a new ElasticsearchHealthIndicator instance.
        Parameters:
        client - the Elasticsearch client
        responseTimeout - the request timeout in milliseconds
        indices - the indices to check
      • ElasticsearchHealthIndicator

        public ElasticsearchHealthIndicator(org.elasticsearch.client.Client client,
                                            long responseTimeout,
                                            String... indices)
        Create a new ElasticsearchHealthIndicator instance.
        Parameters:
        client - the Elasticsearch client
        responseTimeout - the request timeout in milliseconds
        indices - the indices to check