|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.metrics2.util.MetricsCache.Record
public static class MetricsCache.Record
Cached record
Constructor Summary | |
---|---|
MetricsCache.Record()
|
Method Summary | |
---|---|
Number |
getMetric(String key)
Lookup a metric value |
AbstractMetric |
getMetricInstance(String key)
Lookup a metric instance |
String |
getTag(String key)
Lookup a tag value |
Set<Map.Entry<String,Number>> |
metrics()
Deprecated. use metricsEntrySet() instead |
Set<Map.Entry<String,AbstractMetric>> |
metricsEntrySet()
|
Set<Map.Entry<String,String>> |
tags()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MetricsCache.Record()
Method Detail |
---|
public String getTag(String key)
key
- name of the tag
public Number getMetric(String key)
key
- name of the metric
public AbstractMetric getMetricInstance(String key)
key
- name of the metric
public Set<Map.Entry<String,String>> tags()
@Deprecated public Set<Map.Entry<String,Number>> metrics()
public Set<Map.Entry<String,AbstractMetric>> metricsEntrySet()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |