public static class SolrCLI.StatusTool extends SolrCLI.ToolBase
stdout, verbose| Constructor and Description |
|---|
StatusTool() |
StatusTool(PrintStream stdout) |
| 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() |
Map<String,Object> |
getStatus(String solrUrl) |
Map<String,Object> |
reportStatus(String solrUrl,
Map<String,Object> info,
org.apache.http.client.HttpClient httpClient) |
protected void |
runImpl(org.apache.commons.cli.CommandLine cli) |
Map<String,Object> |
waitToSeeSolrUp(String solrUrl,
int maxWaitSecs) |
echo, echoIfVerbose, runToolpublic StatusTool()
public StatusTool(PrintStream stdout)
public String getName()
public org.apache.commons.cli.Option[] getOptions()
protected void runImpl(org.apache.commons.cli.CommandLine cli)
throws Exception
runImpl in class SolrCLI.ToolBaseExceptionpublic Map<String,Object> waitToSeeSolrUp(String solrUrl, int maxWaitSecs) throws Exception
Exceptionpublic Map<String,Object> reportStatus(String solrUrl, Map<String,Object> info, org.apache.http.client.HttpClient httpClient) throws Exception
ExceptionCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.