Package org.apache.storm.metric
Class StormMetricsRegistry
java.lang.Object
org.apache.storm.metric.StormMetricsRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.codahale.metrics.Meter
void
registerAll
(com.codahale.metrics.MetricSet metrics) <V> com.codahale.metrics.Gauge<V>
registerGauge
(String name, com.codahale.metrics.Gauge<V> gauge) com.codahale.metrics.Histogram
registerHistogram
(String name) com.codahale.metrics.Histogram
registerHistogram
(String name, com.codahale.metrics.Reservoir reservoir) com.codahale.metrics.Meter
registerMeter
(String name) com.codahale.metrics.Meter
registerMeter
(String name, com.codahale.metrics.Meter meter) com.codahale.metrics.Timer
registerTimer
(String name) void
removeAll
(com.codahale.metrics.MetricSet metrics) void
startMetricsReporters
(Map<String, Object> daemonConf) void
-
Constructor Details
-
StormMetricsRegistry
public StormMetricsRegistry()
-
-
Method Details
-
registerMeter
-
registerMeter
-
registerTimer
-
registerHistogram
-
registerHistogram
public com.codahale.metrics.Histogram registerHistogram(String name, com.codahale.metrics.Reservoir reservoir) -
registerGauge
public <V> com.codahale.metrics.Gauge<V> registerGauge(String name, com.codahale.metrics.Gauge<V> gauge) -
registerAll
public void registerAll(com.codahale.metrics.MetricSet metrics) -
removeAll
public void removeAll(com.codahale.metrics.MetricSet metrics) -
getMeter
-
startMetricsReporters
-
stopMetricsReporters
public void stopMetricsReporters()
-