Class UserProvidedClientProvider

  • All Implemented Interfaces:
    AutoCloseable

    public class UserProvidedClientProvider
    extends Object
    Used by the user to provide an Elasticsearch Client to the ElasticsearchStore instead of providing host, port, cluster information. The client provided by the user is not closed by the ElasticsearchStore.
    Author:
    HÃ¥vard Mikkelsen Ottestad
    • Constructor Detail

      • UserProvidedClientProvider

        public UserProvidedClientProvider​(org.elasticsearch.client.Client client)
    • Method Detail

      • getClient

        public org.elasticsearch.client.Client getClient()
      • isClosed

        public boolean isClosed()