public class JmxReporter extends Object implements Closeable
Modifier and Type | Class and Description |
---|---|
static class |
JmxReporter.Builder
A builder for
JmxReporter 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 |
Modifier and Type | Method and Description |
---|---|
void |
close()
Stops the reporter.
|
static JmxReporter.Builder |
forRegistry(com.codahale.metrics.MetricRegistry registry)
Returns a new
JmxReporter.Builder for JmxReporter . |
void |
start()
Starts the reporter.
|
void |
stop()
Stops the reporter.
|
public static JmxReporter.Builder forRegistry(com.codahale.metrics.MetricRegistry registry)
JmxReporter.Builder
for JmxReporter
.registry
- the registry to reportJmxReporter.Builder
instance for a JmxReporter
public void start()
public void stop()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2022 Eclipse. All rights reserved.