@Deprecated public class ExactCounterMetric extends org.apache.hadoop.metrics.util.MetricsBase
Constructor and Description |
---|
ExactCounterMetric(String nam,
org.apache.hadoop.metrics.util.MetricsRegistry registry)
Deprecated.
Constructor creates a new ExactCounterMetric
|
ExactCounterMetric(String nam,
org.apache.hadoop.metrics.util.MetricsRegistry registry,
String description,
int topN)
Deprecated.
Constructor to create a new counter metric
|
public ExactCounterMetric(String nam, org.apache.hadoop.metrics.util.MetricsRegistry registry, String description, int topN)
nam
- the name to publish this metric underregistry
- where the metrics object will be registereddescription
- metrics descriptiontopN
- how many 'keys' to publish metrics onpublic ExactCounterMetric(String nam, org.apache.hadoop.metrics.util.MetricsRegistry registry)
nam
- the name of the metrics to be used to publish the metricregistry
- where the metrics object will be registeredCopyright © 2014 The Apache Software Foundation. All rights reserved.