## Package org.apache.hadoop.metrics.spi

Note, this package is deprecated in favor of `org.apache.hadoop.metrics2` usage.

See:
Description

Class Summary
AbstractMetricsContext: Deprecated. in favor of `org.apache.hadoop.metrics2` usage.
AbstractMetricsContext.MetricMap
AbstractMetricsContext.TagMap
CompositeContext: Deprecated. in favor of `org.apache.hadoop.metrics2` usage.
MetricsRecordImpl: Deprecated. in favor of `org.apache.hadoop.metrics2` usage.
MetricValue: Deprecated. in favor of `org.apache.hadoop.metrics2` usage.
NoEmitMetricsContext: Deprecated. in favor of `org.apache.hadoop.metrics2` usage.
NullContext: Deprecated. in favor of `org.apache.hadoop.metrics2` usage.
NullContextWithUpdateThread: Deprecated. in favor of `org.apache.hadoop.metrics2` usage.
OutputRecord: Deprecated. in favor of `org.apache.hadoop.metrics2` usage.
Util: Static utility methods

## Package org.apache.hadoop.metrics.spi Description

Note, this package is deprecated in favor of `org.apache.hadoop.metrics2` usage.

The Service Provider Interface for the Metrics API. This package provides an interface allowing a variety of metrics reporting implementations to be plugged in to the Metrics API. Examples of such implementations can be found in the packages `org.apache.hadoop.metrics.file` and `org.apache.hadoop.metrics.ganglia`.

Plugging in an implementation involves writing a concrete subclass of `AbstractMetricsContext`. The subclass should get its configuration information using the `getAttribute(attributeName)` method.

Copyright © 2009 The Apache Software Foundation