Class PatchedLBSolrClient.Req

java.lang.Object
de.hybris.platform.solrfacetsearch.solr.impl.PatchedLBSolrClient.Req
Direct Known Subclasses:
PatchedLBHttpSolrClient.Req
Enclosing class:
PatchedLBSolrClient

public static class PatchedLBSolrClient.Req extends Object
  • Field Details

    • request

      protected org.apache.solr.client.solrj.SolrRequest request
    • servers

      protected List<String> servers
    • numDeadServersToTry

      protected int numDeadServersToTry
  • Constructor Details

    • Req

      public Req(org.apache.solr.client.solrj.SolrRequest request, List<String> servers)
    • Req

      public Req(org.apache.solr.client.solrj.SolrRequest request, List<String> servers, Integer numServersToTry)
  • Method Details

    • getRequest

      public org.apache.solr.client.solrj.SolrRequest getRequest()
    • getServers

      public List<String> getServers()
    • getNumDeadServersToTry

      public int getNumDeadServersToTry()
      Returns:
      the number of dead servers to try if there are no live servers left
    • setNumDeadServersToTry

      public void setNumDeadServersToTry(int numDeadServersToTry)
      Parameters:
      numDeadServersToTry - The number of dead servers to try if there are no live servers left. Defaults to the number of servers in this request.
    • getNumServersToTry

      public Integer getNumServersToTry()