public static class SolrCLI.StatusTool extends Object implements SolrCLI.Tool
| Constructor and Description |
|---|
SolrCLI.StatusTool() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,String> |
getCloudStatus(org.apache.http.client.HttpClient httpClient,
String solrUrl,
String zkHost)
Calls the CLUSTERSTATUS endpoint in Solr to get basic status information about
the SolrCloud cluster.
|
String |
getName() |
org.apache.commons.cli.Option[] |
getOptions() |
protected Map<String,Object> |
reportStatus(String solrUrl,
Map<String,Object> info,
org.apache.http.client.HttpClient httpClient) |
int |
runTool(org.apache.commons.cli.CommandLine cli) |
public String getName()
getName in interface SolrCLI.Toolpublic org.apache.commons.cli.Option[] getOptions()
getOptions in interface SolrCLI.Toolpublic int runTool(org.apache.commons.cli.CommandLine cli)
throws Exception
runTool in interface SolrCLI.ToolExceptionprotected Map<String,Object> reportStatus(String solrUrl, Map<String,Object> info, org.apache.http.client.HttpClient httpClient) throws Exception
ExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.