public static class HybrisJmxReporter.Builder extends 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(TimeUnit durationUnit)
Convert durations to the given time unit.
|
HybrisJmxReporter.Builder |
convertRatesTo(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(String domain) |
HybrisJmxReporter.Builder |
registerWith(MBeanServer mBeanServer)
Register MBeans with the given
MBeanServer. |
HybrisJmxReporter.Builder |
specificDurationUnits(Map<String,TimeUnit> specificDurationUnits)
Use specific
TimeUnits for the duration of the metrics with these names. |
HybrisJmxReporter.Builder |
specificRateUnits(Map<String,TimeUnit> specificRateUnits)
Use specific
TimeUnits for the rate of the metrics with these names. |
public HybrisJmxReporter.Builder registerWith(MBeanServer mBeanServer)
MBeanServer.mBeanServer - an MBeanServerthispublic HybrisJmxReporter.Builder convertRatesTo(TimeUnit rateUnit)
rateUnit - a unit of timethispublic HybrisJmxReporter.Builder convertDurationsTo(TimeUnit durationUnit)
durationUnit - a unit of timethispublic HybrisJmxReporter.Builder filter(MetricFilter filter)
filter - a MetricFilterthispublic HybrisJmxReporter.Builder inDomain(String domain)
public HybrisJmxReporter.Builder specificDurationUnits(Map<String,TimeUnit> specificDurationUnits)
TimeUnits for the duration of the metrics with these names.specificDurationUnits - a map of metric names and specific TimeUnitsthispublic HybrisJmxReporter.Builder specificRateUnits(Map<String,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 © 2017 SAP SE. All Rights Reserved.