MetricValue (Hadoop 0.20.2-cdh3u0 API)
Date: 2011-03-25

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.hadoop.metrics.spi
Class MetricValue

    java.lang.Object
      org.apache.hadoop.metrics.spi.MetricValue

    public class MetricValue

extends Object

A Number that is either an absolute or an incremental amount.

Field Summary
`static boolean` | `ABSOLUTE`
`static boolean` | `INCREMENT`

Constructor Summary
`MetricValue(Number number, boolean isIncrement)` Creates a new instance of MetricValue

Method Summary
`Number` | `getNumber()`
`boolean` | `isAbsolute()`
`boolean` | `isIncrement()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### ABSOLUTE

    public static final boolean ABSOLUTE

See Also:
  Constant Field Values

### INCREMENT

    public static final boolean INCREMENT

See Also:
  Constant Field Values

Constructor Detail

### MetricValue

    public MetricValue(Number number,
                       boolean isIncrement)

  Creates a new instance of MetricValue

Method Detail

### isIncrement

    public boolean isIncrement()

### isAbsolute

    public boolean isAbsolute()

### getNumber

    public Number getNumber()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009 The Apache Software Foundation