org.apache.hadoop.metrics.spi
Class MetricValue
java.lang.Object
org.apache.hadoop.metrics.spi.MetricValue
@InterfaceAudience.Public
@InterfaceStability.Evolving
public class MetricValue
- extends Object
A Number that is either an absolute or an incremental amount.
Constructor Summary |
MetricValue(Number number,
boolean isIncrement)
Creates a new instance of MetricValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ABSOLUTE
public static final boolean ABSOLUTE
- See Also:
- Constant Field Values
INCREMENT
public static final boolean INCREMENT
- See Also:
- Constant Field Values
MetricValue
public MetricValue(Number number,
boolean isIncrement)
- Creates a new instance of MetricValue
isIncrement
public boolean isIncrement()
isAbsolute
public boolean isAbsolute()
getNumber
public Number getNumber()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.