MetricsBase (Hadoop 0.20.2+737 API)
Date: 2010-10-11

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.util
Class MetricsBase

    java.lang.Object
      org.apache.hadoop.metrics.util.MetricsBase

Direct Known Subclasses:
  MetricsIntValue, MetricsLongValue, MetricsTimeVaryingInt, MetricsTimeVaryingLong, MetricsTimeVaryingRate

    public abstract class MetricsBase

extends Object

This is base class for all metrics

Field Summary
`static String` | `NO_DESCRIPTION`

Constructor Summary
`protected` | `MetricsBase(String nam)`
`protected` | `MetricsBase(String nam, String desc)`

Method Summary
`String` | `getDescription()`
`String` | `getName()`
`abstract void` | `pushMetric(MetricsRecord mr)`

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

Field Detail

### NO_DESCRIPTION

    public static final String NO_DESCRIPTION

See Also:
  Constant Field Values

Constructor Detail

### MetricsBase

    protected MetricsBase(String nam)

### MetricsBase

    protected MetricsBase(String nam,
                          String desc)

Method Detail

### pushMetric

    public abstract void pushMetric(MetricsRecord mr)

### getName

    public String getName()

### getDescription

    public String getDescription()

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