|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.metrics2.lib.Interns
@InterfaceAudience.Public @InterfaceStability.Evolving public class Interns
Helpers to create interned metrics info
Constructor Summary | |
---|---|
Interns()
|
Method Summary | |
---|---|
static MetricsInfo |
info(String name,
String description)
Get a metric info object |
static MetricsTag |
tag(MetricsInfo info,
String value)
Get a metrics tag |
static MetricsTag |
tag(String name,
String description,
String value)
Get a metrics tag |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Interns()
Method Detail |
---|
public static MetricsInfo info(String name, String description)
name
- description
-
public static MetricsTag tag(MetricsInfo info, String value)
info
- of the tagvalue
- of the tag
public static MetricsTag tag(String name, String description, String value)
name
- of the tagdescription
- of the tagvalue
- of the tag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |