public static class LBHttpSolrClient.Req extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
numDeadServersToTry |
protected SolrRequest |
request |
protected List<String> |
servers |
Constructor and Description |
---|
Req(SolrRequest request,
List<String> servers) |
Req(SolrRequest request,
List<String> servers,
Integer numServersToTry) |
Modifier and Type | Method and Description |
---|---|
int |
getNumDeadServersToTry() |
Integer |
getNumServersToTry() |
SolrRequest |
getRequest() |
List<String> |
getServers() |
void |
setNumDeadServersToTry(int numDeadServersToTry) |
protected SolrRequest request
protected int numDeadServersToTry
public Req(SolrRequest request, List<String> servers)
public Req(SolrRequest request, List<String> servers, Integer numServersToTry)
public SolrRequest getRequest()
public int getNumDeadServersToTry()
public void setNumDeadServersToTry(int numDeadServersToTry)
numDeadServersToTry
- The number of dead servers to try if there are no live servers left.
Defaults to the number of servers in this request.public Integer getNumServersToTry()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.