public static class HybrisJmxReporter.Builder
extends java.lang.Object
CsvReporter instances. Defaults to using the default MBean server and not filtering metrics.| Modifier | Constructor and Description |
|---|---|
protected |
Builder(MetricRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
HybrisJmxReporter |
build()
Builds a
HybrisJmxReporter with the given properties. |
HybrisJmxReporter.Builder |
convertDurationsTo(java.util.concurrent.TimeUnit durationUnit)
Convert durations to the given time unit.
|
HybrisJmxReporter.Builder |
convertRatesTo(java.util.concurrent.TimeUnit rateUnit)
Convert rates to the given time unit.
|
HybrisJmxReporter.Builder |
filter(MetricFilter filter)
Only report metrics which match the given filter.
|
HybrisJmxReporter.Builder |
inDomain(java.lang.String domain) |
HybrisJmxReporter.Builder |
registerWith(javax.management.MBeanServer mBeanServer)
Register MBeans with the given
MBeanServer. |
HybrisJmxReporter.Builder |
specificDurationUnits(java.util.Map<java.lang.String,java.util.concurrent.TimeUnit> specificDurationUnits)
Use specific
TimeUnits for the duration of the metrics with these names. |
HybrisJmxReporter.Builder |
specificRateUnits(java.util.Map<java.lang.String,java.util.concurrent.TimeUnit> specificRateUnits)
Use specific
TimeUnits for the rate of the metrics with these names. |
public HybrisJmxReporter.Builder registerWith(javax.management.MBeanServer mBeanServer)
MBeanServer.mBeanServer - an MBeanServerthispublic HybrisJmxReporter.Builder convertRatesTo(java.util.concurrent.TimeUnit rateUnit)
rateUnit - a unit of timethispublic HybrisJmxReporter.Builder convertDurationsTo(java.util.concurrent.TimeUnit durationUnit)
durationUnit - a unit of timethispublic HybrisJmxReporter.Builder filter(MetricFilter filter)
filter - a MetricFilterthispublic HybrisJmxReporter.Builder inDomain(java.lang.String domain)
public HybrisJmxReporter.Builder specificDurationUnits(java.util.Map<java.lang.String,java.util.concurrent.TimeUnit> specificDurationUnits)
TimeUnits for the duration of the metrics with these names.specificDurationUnits - a map of metric names and specific TimeUnitsthispublic HybrisJmxReporter.Builder specificRateUnits(java.util.Map<java.lang.String,java.util.concurrent.TimeUnit> specificRateUnits)
TimeUnits for the rate of the metrics with these names.specificRateUnits - a map of metric names and specific TimeUnitsthispublic HybrisJmxReporter build()
HybrisJmxReporter with the given properties.HybrisJmxReporterCopyright © 2018 SAP SE. All Rights Reserved.