|
||||||||||
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)
Get the metric value |
Metric |
getMetricInstance(String key)
Get the metric value |
String |
getTag(String key)
Get the tag value |
Set<Map.Entry<String,Number>> |
metrics()
|
Set<Map.Entry<String,Metric>> |
metricsEntrySet()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 Metric getMetricInstance(String key)
key
- name of the metric
public Set<Map.Entry<String,Number>> metrics()
public Set<Map.Entry<String,Metric>> metricsEntrySet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |