Package org.apache.solr.client.solrj.io
Class SolrClientCache
- java.lang.Object
-
- org.apache.solr.client.solrj.io.SolrClientCache
-
- All Implemented Interfaces:
Serializable
public class SolrClientCache extends Object implements Serializable
The SolrClientCache caches SolrClients so they can be reused by different TupleStreams.TODO: Cut this over to using Solr's new Http2 clients
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SolrClientCache()
SolrClientCache(org.apache.http.client.HttpClient httpClient)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
org.apache.solr.client.solrj.impl.CloudSolrClient
getCloudSolrClient(String zkHost)
Deprecated.org.apache.solr.client.solrj.SolrClient
getHttpSolrClient(String baseUrl)
Deprecated.
-
-
-
Constructor Detail
-
SolrClientCache
public SolrClientCache()
-
SolrClientCache
@Deprecated(since="9.0") public SolrClientCache(org.apache.http.client.HttpClient httpClient)
Deprecated.
-
-
Method Detail
-
getCloudSolrClient
@Deprecated(since="9.0") public org.apache.solr.client.solrj.impl.CloudSolrClient getCloudSolrClient(String zkHost)
Deprecated.
-
getHttpSolrClient
@Deprecated(since="9.0") public org.apache.solr.client.solrj.SolrClient getHttpSolrClient(String baseUrl)
Deprecated.
-
close
public void close()
-
-