Package org.apache.solr.cloud
Class MiniSolrCloudCluster.JettySolrRunnerWithMetrics
- java.lang.Object
-
- org.apache.solr.embedded.JettySolrRunner
-
- org.apache.solr.cloud.MiniSolrCloudCluster.JettySolrRunnerWithMetrics
-
- Enclosing class:
- MiniSolrCloudCluster
public static final class MiniSolrCloudCluster.JettySolrRunnerWithMetrics extends 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.embedded.JettySolrRunner
JettySolrRunner.DebugFilter, JettySolrRunner.Servlet404
-
-
Constructor Summary
Constructors Constructor Description JettySolrRunnerWithMetrics(String solrHome, Properties nodeProps, 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)
descendants may inject own handler chaining it to the given root and then returning that own one-
Methods inherited from class org.apache.solr.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, JettyConfig config)
-
-
Method Detail
-
injectJettyHandlers
protected org.eclipse.jetty.server.handler.HandlerWrapper injectJettyHandlers(org.eclipse.jetty.server.handler.HandlerWrapper chain)
Description copied from class:JettySolrRunner
descendants may inject own handler chaining it to the given root and then returning that own one- Overrides:
injectJettyHandlers
in classJettySolrRunner
-
getMetricRegistry
public com.codahale.metrics.MetricRegistry getMetricRegistry()
- Returns:
- optional subj. It may be null, if it's not yet created.
-
-