public static class LBHttpSolrServer.Req extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
numDeadServersToTry |
protected SolrRequest |
request |
protected List<String> |
servers |
Constructor and Description |
---|
LBHttpSolrServer.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 LBHttpSolrServer.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-2013 Apache Software Foundation. All Rights Reserved.