Class HealthcheckTool

java.lang.Object
org.apache.solr.cli.ToolBase
org.apache.solr.cli.HealthcheckTool
All Implemented Interfaces:
Tool

public class HealthcheckTool extends ToolBase
  • Constructor Details

    • HealthcheckTool

      public HealthcheckTool(ToolRuntime runtime)
      Requests health information about a specific collection in SolrCloud.
  • Method Details

    • getOptions

      public List<org.apache.commons.cli.Option> getOptions()
    • runImpl

      public void runImpl(org.apache.commons.cli.CommandLine cli) throws Exception
      Specified by:
      runImpl in class ToolBase
      Throws:
      Exception
    • getName

      public String getName()
      Description copied from interface: Tool
      Defines 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