Class JmxReporter
java.lang.Object
com.codahale.metrics.JmxReporter
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder forCsvReporterinstances.static interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Stops the reporter.static JmxReporter.BuilderforRegistry(MetricRegistry registry) Returns a newJmxReporter.BuilderforJmxReporter.voidstart()Starts the reporter.voidstop()Stops the reporter.
-
Method Details
-
forRegistry
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
-