Package | Description |
---|---|
org.apache.hadoop.metrics |
This package defines an API for reporting performance metric information.
|
org.apache.hadoop.metrics.spi |
The Service Provider Interface for the Metrics API.
|
org.apache.hadoop.metrics.util |
Modifier and Type | Method and Description |
---|---|
static MetricsRecord |
MetricsUtil.createRecord(MetricsContext context,
String recordName)
Utility method to create and return new metrics record instance within the
given context.
|
MetricsRecord |
MetricsContext.createRecord(String recordName)
Creates a new MetricsRecord instance with the given
recordName . |
Modifier and Type | Class and Description |
---|---|
class |
MetricsRecordImpl
An implementation of MetricsRecord.
|
Modifier and Type | Method and Description |
---|---|
MetricsRecord |
AbstractMetricsContext.createRecord(String recordName)
Creates a new AbstractMetricsRecord instance with the given
recordName . |
protected MetricsRecord |
AbstractMetricsContext.newRecord(String recordName)
Subclasses should override this if they subclass MetricsRecordImpl.
|
MetricsRecord |
CompositeContext.newRecord(String recordName) |
Modifier and Type | Method and Description |
---|---|
void |
MetricsLongValue.pushMetric(MetricsRecord mr)
Push the metric to the mr.
|
void |
MetricsTimeVaryingRate.pushMetric(MetricsRecord mr)
Push the delta metrics to the mr.
|
void |
MetricsTimeVaryingLong.pushMetric(MetricsRecord mr)
Push the delta metrics to the mr.
|
void |
MetricsTimeVaryingInt.pushMetric(MetricsRecord mr)
Push the delta metrics to the mr.
|
void |
MetricsIntValue.pushMetric(MetricsRecord mr)
Push the metric to the mr.
|
abstract void |
MetricsBase.pushMetric(MetricsRecord mr) |
Copyright © 2010 The Apache Software Foundation