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, runTool
public 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.ToolBase
Exception
public Map<String,Object> waitToSeeSolrUp(String solrUrl, int maxWaitSecs) throws Exception
Exception
public Map<String,Object> reportStatus(String solrUrl, Map<String,Object> info, org.apache.http.client.HttpClient httpClient) throws Exception
Exception
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.