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.Tool
public org.apache.commons.cli.Option[] getOptions()
getOptions
in interface SolrCLI.Tool
public int runTool(org.apache.commons.cli.CommandLine cli) throws Exception
runTool
in interface SolrCLI.Tool
Exception
protected Map<String,Object> reportStatus(String solrUrl, Map<String,Object> info, org.apache.http.client.HttpClient httpClient) throws Exception
Exception
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.