Package com.codahale.metrics
Class JmxReporter
java.lang.Object
com.codahale.metrics.JmxReporter
- All Implemented Interfaces:
com.codahale.metrics.Reporter
,Closeable
,AutoCloseable
Adapter for compatibility of metrics-jms for 3 and 4 versions.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static JmxReporter.Builder
forRegistry
(com.codahale.metrics.MetricRegistry registry) void
start()
void
stop()
-
Constructor Details
-
JmxReporter
public JmxReporter(com.codahale.metrics.jmx.JmxReporter delegate)
-
-
Method Details
-
forRegistry
-
start
public void start() -
stop
public void stop() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-