Class Http2ClusterStateProvider
- java.lang.Object
-
- org.apache.solr.client.solrj.impl.BaseHttpClusterStateProvider
-
- org.apache.solr.client.solrj.impl.Http2ClusterStateProvider
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ClusterStateProvider
,SolrCloseable
public class Http2ClusterStateProvider extends BaseHttpClusterStateProvider
-
-
Constructor Summary
Constructors Constructor Description Http2ClusterStateProvider(List<String> solrUrls, Http2SolrClient httpClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected SolrClient
getSolrClient(String baseUrl)
-
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
-
-
-
-
Constructor Detail
-
Http2ClusterStateProvider
public Http2ClusterStateProvider(List<String> solrUrls, Http2SolrClient httpClient) throws Exception
- Throws:
Exception
-
-
Method Detail
-
close
public void close() throws IOException
- Throws:
IOException
-
getSolrClient
protected SolrClient getSolrClient(String baseUrl)
- Specified by:
getSolrClient
in classBaseHttpClusterStateProvider
-
-