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
- 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
ConstructorsConstructorDescriptionJettySolrRunnerWithMetrics(String solrHome, Properties nodeProps, JettyConfig config) -
Method Summary
Modifier and TypeMethodDescriptioncom.codahale.metrics.MetricRegistryprotected org.eclipse.jetty.server.Handler.WrapperinjectJettyHandlers(org.eclipse.jetty.server.Handler.Wrapper chain) descendants may inject own handler chaining it to the given root and then returning that own oneMethods 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 Details
-
JettySolrRunnerWithMetrics
-
-
Method Details
-
injectJettyHandlers
protected org.eclipse.jetty.server.Handler.Wrapper injectJettyHandlers(org.eclipse.jetty.server.Handler.Wrapper chain) Description copied from class:JettySolrRunnerdescendants may inject own handler chaining it to the given root and then returning that own one- Overrides:
injectJettyHandlersin classJettySolrRunner
-
getMetricRegistry
public com.codahale.metrics.MetricRegistry getMetricRegistry()- Returns:
- optional subj. It may be null, if it's not yet created.
-