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 |
---|
LBHttpSolrClient.Req(SolrRequest request,
List<String> servers) |
Modifier and Type | Method and Description |
---|---|
int |
getNumDeadServersToTry() |
SolrRequest |
getRequest() |
List<String> |
getServers() |
void |
setNumDeadServersToTry(int numDeadServersToTry) |
protected SolrRequest request
protected int numDeadServersToTry
public LBHttpSolrClient.Req(SolrRequest request, List<String> servers)
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.Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.