@InterfaceAudience.Private @InterfaceStability.Evolving public final class Interns extends Object
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.metrics2.MetricsInfo |
info(String name,
String description)
Get a metric info object
|
static org.apache.hadoop.metrics2.MetricsTag |
tag(org.apache.hadoop.metrics2.MetricsInfo info,
String value)
Get a metrics tag
|
static org.apache.hadoop.metrics2.MetricsTag |
tag(String name,
String description,
String value)
Get a metrics tag
|
public static org.apache.hadoop.metrics2.MetricsInfo info(String name, String description)
public static org.apache.hadoop.metrics2.MetricsTag tag(org.apache.hadoop.metrics2.MetricsInfo info, String value)
info
- of the tagvalue
- of the tagCopyright © 2007–2019 Cloudera. All rights reserved.