org.apache.hadoop.metrics2
usage.@Deprecated @InterfaceAudience.Public @InterfaceStability.Evolving public class OutputRecord extends Object
限定符和类型 | 方法和说明 |
---|---|
Number |
getMetric(String name)
已过时。
Returns the metric object which can be a Float, Integer, Short or Byte.
|
Set<String> |
getMetricNames()
已过时。
Returns the set of metric names.
|
AbstractMetricsContext.MetricMap |
getMetricsCopy()
已过时。
Returns a copy of this record's metrics.
|
Object |
getTag(String name)
已过时。
Returns a tag object which is can be a String, Integer, Short or Byte.
|
Set<String> |
getTagNames()
已过时。
Returns the set of tag names
|
AbstractMetricsContext.TagMap |
getTagsCopy()
已过时。
Returns a copy of this record's tags.
|
public Object getTag(String name)
public Number getMetric(String name)
public AbstractMetricsContext.TagMap getTagsCopy()
public AbstractMetricsContext.MetricMap getMetricsCopy()
Copyright © 2009 The Apache Software Foundation