Package org.apache.solr.cloud
Class MiniSolrCloudCluster.JettySolrRunnerWithMetrics
- java.lang.Object
-
- org.apache.solr.client.solrj.embedded.JettySolrRunner
-
- org.apache.solr.cloud.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.
-
-
Constructor Summary
Constructors Constructor Description JettySolrRunnerWithMetrics(String solrHome, Properties nodeProps, org.apache.solr.client.solrj.embedded.JettyConfig config)
-
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 classorg.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.
-
-