Class JmxReporter
- java.lang.Object
-
- io.vertx.ext.dropwizard.reporters.JmxReporter
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class JmxReporter extends Object implements Closeable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJmxReporter.BuilderA builder forJmxReporterinstances.static interfaceJmxReporter.JmxCounterMBeanstatic interfaceJmxReporter.JmxGaugeMBeanstatic interfaceJmxReporter.JmxHistogramMBeanstatic interfaceJmxReporter.JmxMeterMBeanstatic interfaceJmxReporter.JmxThroughputMeterMBeanstatic interfaceJmxReporter.JmxThroughputTimerMBeanstatic interfaceJmxReporter.JmxTimerMBeanstatic interfaceJmxReporter.MetricMBean
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Stops the reporter.static JmxReporter.BuilderforRegistry(com.codahale.metrics.MetricRegistry registry)Returns a newJmxReporter.BuilderforJmxReporter.voidstart()Starts the reporter.voidstop()Stops the reporter.
-
-
-
Method Detail
-
forRegistry
public static JmxReporter.Builder forRegistry(com.codahale.metrics.MetricRegistry registry)
Returns a newJmxReporter.BuilderforJmxReporter.- Parameters:
registry- the registry to report- Returns:
- a
JmxReporter.Builderinstance for aJmxReporter
-
start
public void start()
Starts the reporter.
-
stop
public void stop()
Stops the reporter.
-
close
public void close()
Stops the reporter.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-