public class HBaseMetrics2HadoopMetricsAdapter extends Object
Constructor and Description |
---|
HBaseMetrics2HadoopMetricsAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
snapshotAllMetrics(MetricRegistry metricRegistry,
org.apache.hadoop.metrics2.MetricsCollector collector)
Iterates over the MetricRegistry and adds them to the
collector . |
void |
snapshotAllMetrics(MetricRegistry metricRegistry,
org.apache.hadoop.metrics2.MetricsRecordBuilder builder)
Iterates over the MetricRegistry and adds them to the
builder . |
public void snapshotAllMetrics(MetricRegistry metricRegistry, org.apache.hadoop.metrics2.MetricsCollector collector)
collector
.collector
- A metrics collectorpublic void snapshotAllMetrics(MetricRegistry metricRegistry, org.apache.hadoop.metrics2.MetricsRecordBuilder builder)
builder
.builder
- A record builderCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.