Package org.apache.solr.cli
Class HealthcheckTool
java.lang.Object
org.apache.solr.cli.ToolBase
org.apache.solr.cli.HealthcheckTool
- All Implemented Interfaces:
Tool
Supports healthcheck command in the bin/solr script.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionHealthcheckTool(ToolRuntime runtime) Requests health information about a specific collection in SolrCloud. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Defines the interface to a Solr tool that can be run from this command-line app.org.apache.commons.cli.OptionsRetrieve theOptionssupported by this tool.protected voidrunCloudTool(org.apache.solr.client.solrj.impl.CloudSolrClient cloudSolrClient, org.apache.commons.cli.CommandLine cli) voidrunImpl(org.apache.commons.cli.CommandLine cli) Methods inherited from class org.apache.solr.cli.ToolBase
echo, echoIfVerbose, getConnectionOptions, getRuntime, isVerbose, runTool
-
Constructor Details
-
HealthcheckTool
Requests health information about a specific collection in SolrCloud.
-
-
Method Details
-
getOptions
public org.apache.commons.cli.Options getOptions()Description copied from interface:ToolRetrieve theOptionssupported by this tool.- Specified by:
getOptionsin interfaceTool- Overrides:
getOptionsin classToolBase- Returns:
- The
Optionsthis tool supports.
-
runImpl
-
getName
Description copied from interface:ToolDefines the interface to a Solr tool that can be run from this command-line app. -
runCloudTool
protected void runCloudTool(org.apache.solr.client.solrj.impl.CloudSolrClient cloudSolrClient, org.apache.commons.cli.CommandLine cli) throws Exception - Throws:
Exception
-