Class SingletonClientProvider

java.lang.Object
org.eclipse.rdf4j.sail.elasticsearchstore.SingletonClientProvider
All Implemented Interfaces:
AutoCloseable

public class SingletonClientProvider extends Object
Author:
HÃ¥vard Mikkelsen Ottestad
  • Constructor Details

    • SingletonClientProvider

      public SingletonClientProvider(String hostname, int port, String clusterName)
  • Method Details

    • getClient

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

      public boolean isClosed()
    • close

      public void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception