Class MiniSolrCloudCluster.JettySolrRunnerWithMetrics

  • Enclosing class:
    MiniSolrCloudCluster

    public static final class MiniSolrCloudCluster.JettySolrRunnerWithMetrics
    extends org.apache.solr.client.solrj.embedded.JettySolrRunner
    WARNING: This API is experimental and might change in incompatible ways in the next release.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.solr.client.solrj.embedded.JettySolrRunner

        org.apache.solr.client.solrj.embedded.JettySolrRunner.DebugFilter, org.apache.solr.client.solrj.embedded.JettySolrRunner.Servlet404
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.codahale.metrics.MetricRegistry getMetricRegistry()  
      protected org.eclipse.jetty.server.handler.HandlerWrapper injectJettyHandlers​(org.eclipse.jetty.server.handler.HandlerWrapper chain)  
      • Methods inherited from class org.apache.solr.client.solrj.embedded.JettySolrRunner

        dumpCoresInfo, getBaseUrl, getBaseURLV2, getCoreContainer, getDebugFilter, getLocalPort, getLocalPort, getNodeName, getNodeProperties, getProxy, getProxyBaseUrl, getSolrDispatchFilter, getSolrHome, isRunning, isStopped, main, newClient, newClient, outputMetrics, setProxyPort, start, start, stop
    • Constructor Detail

      • JettySolrRunnerWithMetrics

        public JettySolrRunnerWithMetrics​(String solrHome,
                                          Properties nodeProps,
                                          org.apache.solr.client.solrj.embedded.JettyConfig config)
    • Method Detail

      • injectJettyHandlers

        protected org.eclipse.jetty.server.handler.HandlerWrapper injectJettyHandlers​(org.eclipse.jetty.server.handler.HandlerWrapper chain)
        Overrides:
        injectJettyHandlers in class org.apache.solr.client.solrj.embedded.JettySolrRunner
      • getMetricRegistry

        public com.codahale.metrics.MetricRegistry getMetricRegistry()
        Returns:
        optional subj. It may be null, if it's not yet created.