public static class JmxMetricsReporter.Builder extends Object
Modifier and Type | Method and Description |
---|---|
JmxMetricsReporter |
build() |
JmxMetricsReporter.Builder |
convertDurationsTo(TimeUnit durationUnit)
Convert durations to the given time unit.
|
JmxMetricsReporter.Builder |
convertRatesTo(TimeUnit rateUnit)
Convert rates to the given time unit.
|
JmxMetricsReporter.Builder |
createsObjectNamesWith(com.codahale.metrics.ObjectNameFactory onFactory) |
JmxMetricsReporter.Builder |
filter(com.codahale.metrics.MetricFilter filter)
Only report metrics which match the given filter.
|
JmxMetricsReporter.Builder |
inDomain(String domain) |
JmxMetricsReporter.Builder |
registerWith(MBeanServer mBeanServer)
Register MBeans with the given
MBeanServer . |
JmxMetricsReporter.Builder |
withTag(String tag) |
public JmxMetricsReporter.Builder registerWith(MBeanServer mBeanServer)
MBeanServer
.mBeanServer
- an MBeanServer
this
public JmxMetricsReporter.Builder convertRatesTo(TimeUnit rateUnit)
rateUnit
- a unit of timethis
public JmxMetricsReporter.Builder createsObjectNamesWith(com.codahale.metrics.ObjectNameFactory onFactory)
public JmxMetricsReporter.Builder convertDurationsTo(TimeUnit durationUnit)
durationUnit
- a unit of timethis
public JmxMetricsReporter.Builder filter(com.codahale.metrics.MetricFilter filter)
filter
- a MetricFilter
this
public JmxMetricsReporter.Builder inDomain(String domain)
public JmxMetricsReporter.Builder withTag(String tag)
public JmxMetricsReporter build()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.