|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.metrics2.MetricsTag
public class MetricsTag
Immutable tag for metrics (for grouping on host/queue/username etc.)
Constructor Summary | |
---|---|
MetricsTag(String name,
String description,
String value)
Construct the tag with name, description and value |
Method Summary | |
---|---|
String |
description()
Get the description of the tag |
boolean |
equals(Object obj)
|
int |
hashCode()
|
String |
name()
Get the name of the tag |
String |
toString()
|
String |
value()
Get the value of the tag |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MetricsTag(String name, String description, String value)
name
- of the tagdescription
- of the tagvalue
- of the tagMethod Detail |
---|
public String name()
public String description()
public String value()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |