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 Summary
Constructors Constructor Description SingletonClientProvider(String hostname, int port, String clusterName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
org.elasticsearch.client.Client
getClient()
boolean
isClosed()
-
-
-
Method Detail
-
getClient
public org.elasticsearch.client.Client getClient()
-
isClosed
public boolean isClosed()
-
close
public void close() throws Exception
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
-