|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.metrics.spi.MetricValue
org.apache.hadoop.metrics2
usage.
@Deprecated @InterfaceAudience.Public @InterfaceStability.Evolving public class MetricValue
A Number that is either an absolute or an incremental amount.
Field Summary | |
---|---|
static boolean |
ABSOLUTE
Deprecated. |
static boolean |
INCREMENT
Deprecated. |
Constructor Summary | |
---|---|
MetricValue(Number number,
boolean isIncrement)
Deprecated. Creates a new instance of MetricValue |
Method Summary | |
---|---|
Number |
getNumber()
Deprecated. |
boolean |
isAbsolute()
Deprecated. |
boolean |
isIncrement()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean ABSOLUTE
public static final boolean INCREMENT
Constructor Detail |
---|
public MetricValue(Number number, boolean isIncrement)
Method Detail |
---|
public boolean isIncrement()
public boolean isAbsolute()
public Number getNumber()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |