Class ModifiedHttp2ClusterStateProvider

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, org.apache.solr.client.solrj.impl.ClusterStateProvider, org.apache.solr.common.SolrCloseable

    public class ModifiedHttp2ClusterStateProvider
    extends org.apache.solr.client.solrj.impl.BaseHttpClusterStateProvider
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      protected org.apache.solr.client.solrj.SolrClient getSolrClient​(java.lang.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

      • ModifiedHttp2ClusterStateProvider

        public ModifiedHttp2ClusterStateProvider​(java.util.List<java.lang.String> solrUrls,
                                                 ModifiedHttp2SolrClient httpClient)
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • getSolrClient

        protected org.apache.solr.client.solrj.SolrClient getSolrClient​(java.lang.String baseUrl)
        Specified by:
        getSolrClient in class org.apache.solr.client.solrj.impl.BaseHttpClusterStateProvider