Class JmxStormReporter
- java.lang.Object
-
- org.apache.storm.metrics2.reporters.JmxStormReporter
-
- All Implemented Interfaces:
com.codahale.metrics.Reporter
,Closeable
,AutoCloseable
,StormReporter
public class JmxStormReporter extends Object implements StormReporter
-
-
Field Summary
Fields Modifier and Type Field Description static String
JMX_DOMAIN
-
Fields inherited from interface org.apache.storm.metrics2.reporters.StormReporter
REPORT_DIMENSIONS_ENABLED, REPORT_PERIOD, REPORT_PERIOD_UNITS
-
-
Constructor Summary
Constructors Constructor Description JmxStormReporter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
static String
getMetricsJmxDomain(Map reporterConf)
void
prepare(com.codahale.metrics.MetricRegistry metricsRegistry, Map<String,Object> topoConf, Map<String,Object> reporterConf)
void
start()
void
stop()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.storm.metrics2.reporters.StormReporter
prepare
-
-
-
-
Field Detail
-
JMX_DOMAIN
public static final String JMX_DOMAIN
- See Also:
- Constant Field Values
-
-
Method Detail
-
prepare
public void prepare(com.codahale.metrics.MetricRegistry metricsRegistry, Map<String,Object> topoConf, Map<String,Object> reporterConf)
- Specified by:
prepare
in interfaceStormReporter
-
start
public void start()
- Specified by:
start
in interfaceStormReporter
-
stop
public void stop()
- Specified by:
stop
in interfaceStormReporter
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-