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 class
JmxReporter.Builder
A builder forJmxReporter
instances.static interface
JmxReporter.JmxCounterMBean
static interface
JmxReporter.JmxGaugeMBean
static interface
JmxReporter.JmxHistogramMBean
static interface
JmxReporter.JmxMeterMBean
static interface
JmxReporter.JmxThroughputMeterMBean
static interface
JmxReporter.JmxThroughputTimerMBean
static interface
JmxReporter.JmxTimerMBean
static interface
JmxReporter.MetricMBean
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Stops the reporter.static JmxReporter.Builder
forRegistry(com.codahale.metrics.MetricRegistry registry)
Returns a newJmxReporter.Builder
forJmxReporter
.void
start()
Starts the reporter.void
stop()
Stops the reporter.
-
-
-
Method Detail
-
forRegistry
public static JmxReporter.Builder forRegistry(com.codahale.metrics.MetricRegistry registry)
Returns a newJmxReporter.Builder
forJmxReporter
.- Parameters:
registry
- the registry to report- Returns:
- a
JmxReporter.Builder
instance 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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
-