org.eclipse.rdf4j.sail.elasticsearchstore

## Class SingletonClientProvider

- java.lang.Object
- - org.eclipse.rdf4j.sail.elasticsearchstore.SingletonClientProvider

-     public class SingletonClientProvider
      extends Object

  Author:
    Håvard Mikkelsen Ottestad

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SingletonClientProvider(String hostname, int port, String clusterName)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `org.elasticsearch.client.Client` | `getClient()`
    `boolean` | `isClosed()`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### SingletonClientProvider

          public SingletonClientProvider(String hostname,
                                         int port,
                                         String clusterName)

  - ### Method Detail

    - #### getClient

          public org.elasticsearch.client.Client getClient()

    - #### isClosed

          public boolean isClosed()

    - #### close

          public void close()
                     throws Exception

      Throws:
        `Exception`

Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.