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