Class AdminHandlersProxy


  • public class AdminHandlersProxy
    extends Object
    Static methods to proxy calls to an Admin (GET) API to other nodes in the cluster and return a combined response
    • Constructor Detail

      • AdminHandlersProxy

        public AdminHandlersProxy()
    • Method Detail

      • callRemoteNode

        public static org.apache.solr.common.util.Pair<Future<org.apache.solr.common.util.NamedList<Object>>,​org.apache.solr.client.solrj.SolrClient> callRemoteNode​(String nodeName,
                                                                                                                                                                           String endpoint,
                                                                                                                                                                           org.apache.solr.common.params.SolrParams params,
                                                                                                                                                                           ZkController zkController)
                                                                                                                                                                    throws IOException,
                                                                                                                                                                           org.apache.solr.client.solrj.SolrServerException
        Makes a remote request and returns a future and the solr client. The caller is responsible for closing the client
        Throws:
        IOException
        org.apache.solr.client.solrj.SolrServerException