Class HttpClusterStateProvider
- java.lang.Object
-
- org.apache.solr.client.solrj.impl.BaseHttpClusterStateProvider
-
- org.apache.solr.client.solrj.impl.HttpClusterStateProvider
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ClusterStateProvider
,SolrCloseable
@Deprecated(since="9.0") public class HttpClusterStateProvider extends BaseHttpClusterStateProvider
Deprecated.Please useHttp2ClusterStateProvider
Retrieves cluster state via Solr HTTP APIs
-
-
Constructor Summary
Constructors Constructor Description HttpClusterStateProvider(List<String> solrUrls, org.apache.http.client.HttpClient httpClient)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
Deprecated.protected SolrClient
getSolrClient(String baseUrl)
Deprecated.-
Methods inherited from class org.apache.solr.client.solrj.impl.BaseHttpClusterStateProvider
connect, getAliasProperties, getCacheTimeout, getClusterProperties, getClusterProperty, getClusterState, getLiveNodes, getPolicyNameByCollection, getQuorumHosts, getState, init, resolveAlias, resolveAlias, resolveSimpleAlias, setCacheTimeout
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.solr.client.solrj.impl.ClusterStateProvider
getClusterProperty, getCollection, isRoutedAlias
-
Methods inherited from interface org.apache.solr.common.SolrCloseable
isClosed
-
-
-
-
Method Detail
-
getSolrClient
protected SolrClient getSolrClient(String baseUrl)
Deprecated.- Specified by:
getSolrClient
in classBaseHttpClusterStateProvider
-
close
public void close() throws IOException
Deprecated.- Throws:
IOException
-
-