|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.metrics.spi.OutputRecord
org.apache.hadoop.metrics2 usage.
@Deprecated @InterfaceAudience.Public @InterfaceStability.Evolving public class OutputRecord
Represents a record of metric data to be sent to a metrics system.
| Method Summary | |
|---|---|
Number |
getMetric(String name)
Deprecated. Returns the metric object which can be a Float, Integer, Short or Byte. |
Set<String> |
getMetricNames()
Deprecated. Returns the set of metric names. |
AbstractMetricsContext.MetricMap |
getMetricsCopy()
Deprecated. Returns a copy of this record's metrics. |
Object |
getTag(String name)
Deprecated. Returns a tag object which is can be a String, Integer, Short or Byte. |
Set<String> |
getTagNames()
Deprecated. Returns the set of tag names |
AbstractMetricsContext.TagMap |
getTagsCopy()
Deprecated. Returns a copy of this record's tags. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Set<String> getTagNames()
public Object getTag(String name)
public Set<String> getMetricNames()
public Number getMetric(String name)
public AbstractMetricsContext.TagMap getTagsCopy()
public AbstractMetricsContext.MetricMap getMetricsCopy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||