@ThreadSafe public final class JmxSink extends Object implements Sink
Constructor and Description |
---|
JmxSink(Properties properties,
com.codahale.metrics.MetricRegistry registry)
|
Modifier and Type | Method and Description |
---|---|
void |
report()
Reports the current values of all metrics.
|
void |
start()
Starts the reporter polling.
|
void |
stop()
Stops the reporter.
|
public JmxSink(Properties properties, com.codahale.metrics.MetricRegistry registry)
properties
- the propertiesregistry
- the metric registry to registerCopyright © 2023. All Rights Reserved.