private class GlobalMetricRegistriesAdapter.MetricsSourceAdapter extends Object implements org.apache.hadoop.metrics2.MetricsSource
Modifier and Type | Field and Description |
---|---|
private MetricRegistry |
registry |
Constructor and Description |
---|
MetricsSourceAdapter(MetricRegistry registry) |
Modifier and Type | Method and Description |
---|---|
void |
getMetrics(org.apache.hadoop.metrics2.MetricsCollector collector,
boolean all) |
private final MetricRegistry registry
MetricsSourceAdapter(MetricRegistry registry)
public void getMetrics(org.apache.hadoop.metrics2.MetricsCollector collector, boolean all)
getMetrics
in interface org.apache.hadoop.metrics2.MetricsSource
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.