程序包 org.apache.hadoop.metrics.spi

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

请参阅: 说明

程序包org.apache.hadoop.metrics.spi的说明

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