Package org.apache.solr.util
Class SolrCLI.StatusTool
- java.lang.Object
- 
- org.apache.solr.util.SolrCLI.ToolBase
- 
- org.apache.solr.util.SolrCLI.StatusTool
 
 
- 
- All Implemented Interfaces:
- SolrCLI.Tool
 - Enclosing class:
- SolrCLI
 
 public static class SolrCLI.StatusTool extends SolrCLI.ToolBase Get the status of a Solr server.
- 
- 
Field Summary- 
Fields inherited from class org.apache.solr.util.SolrCLI.ToolBasestdout, verbose
 
- 
 - 
Constructor SummaryConstructors Constructor Description StatusTool()StatusTool(PrintStream stdout)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method 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.StringgetName()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 voidrunImpl(org.apache.commons.cli.CommandLine cli)Map<String,Object>waitToSeeSolrUp(String solrUrl, int maxWaitSecs)- 
Methods inherited from class org.apache.solr.util.SolrCLI.ToolBaseecho, echoIfVerbose, runTool
 
- 
 
- 
- 
- 
Constructor Detail- 
StatusToolpublic StatusTool() 
 - 
StatusToolpublic StatusTool(PrintStream stdout) 
 
- 
 - 
Method Detail- 
getNamepublic String getName() 
 - 
getOptionspublic org.apache.commons.cli.Option[] getOptions() 
 - 
runImplprotected void runImpl(org.apache.commons.cli.CommandLine cli) throws Exception- Specified by:
- runImplin class- SolrCLI.ToolBase
- Throws:
- Exception
 
 - 
waitToSeeSolrUppublic Map<String,Object> waitToSeeSolrUp(String solrUrl, int maxWaitSecs) throws Exception - Throws:
- Exception
 
 - 
reportStatuspublic Map<String,Object> reportStatus(String solrUrl, Map<String,Object> info, org.apache.http.client.HttpClient httpClient) throws Exception - Throws:
- Exception
 
 
- 
 
-