public class DynamicMetricsRegistry.CompatibilityRegistry extends Object
| Constructor and Description |
|---|
DynamicMetricsRegistry.CompatibilityRegistry() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.metrics2.lib.MutableGaugeLong |
getGauge(String gaugeName,
long potentialStartingValue) |
void |
removeMetric(String name) |
void |
snapshot(MetricsRecordBuilder builder,
boolean all) |
public DynamicMetricsRegistry.CompatibilityRegistry()
public org.apache.hadoop.metrics2.lib.MutableGaugeLong getGauge(String gaugeName, long potentialStartingValue)
public void snapshot(MetricsRecordBuilder builder, boolean all)
public void removeMetric(String name)
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.