Uses of Interface org.apache.hadoop.metrics.MetricsContext (Hadoop 0.20.2-cdh3u0 API)
Date: 2011-03-25

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.apache.hadoop.metrics.MetricsContext

Packages that use MetricsContext
org.apache.hadoop.ipc.metrics |
org.apache.hadoop.metrics | This package defines an API for reporting performance metric information.
org.apache.hadoop.metrics.file | Implementation of the metrics package that writes the metrics to a file.
org.apache.hadoop.metrics.ganglia | Implementation of the metrics package that sends metric data to Ganglia.
org.apache.hadoop.metrics.jvm |
org.apache.hadoop.metrics.spi | The Service Provider Interface for the Metrics API.

Uses of MetricsContext in org.apache.hadoop.ipc.metrics

Methods in org.apache.hadoop.ipc.metrics with parameters of type MetricsContext
`void` | `RpcDetailedMetrics.doUpdates(MetricsContext context)` Push the metrics to the monitoring subsystem on doUpdate() call.
`void` | `RpcMetrics.doUpdates(MetricsContext context)` Push the metrics to the monitoring subsystem on doUpdate() call.

Uses of MetricsContext in org.apache.hadoop.metrics

Methods in org.apache.hadoop.metrics that return MetricsContext
`static MetricsContext` | `MetricsUtil.getContext(String contextName)`
`MetricsContext` | `ContextFactory.getContext(String contextName)`
`static MetricsContext` | `MetricsUtil.getContext(String refName, String contextName)` Utility method to return the named context.
`MetricsContext` | `ContextFactory.getContext(String refName, String contextName)` Returns the named MetricsContext instance, constructing it if necessary using the factory's current configuration attributes.
`static MetricsContext` | `ContextFactory.getNullContext(String contextName)` Returns a "null" context - one which does nothing.

Methods in org.apache.hadoop.metrics that return types with arguments of type MetricsContext
`Collection<MetricsContext>` | `ContextFactory.getAllContexts()` Returns all MetricsContexts built by this factory.

Methods in org.apache.hadoop.metrics with parameters of type MetricsContext
`static MetricsRecord` | `MetricsUtil.createRecord(MetricsContext context, String recordName)` Utility method to create and return new metrics record instance within the given context.
`void` | `Updater.doUpdates(MetricsContext context)` Timer-based call-back from the metric library.

Uses of MetricsContext in org.apache.hadoop.metrics.file

Classes in org.apache.hadoop.metrics.file that implement MetricsContext
`class` | `FileContext` Metrics context for writing metrics to a file. This class is configured by setting ContextFactory attributes which in turn are usually configured through a properties file.

Uses of MetricsContext in org.apache.hadoop.metrics.ganglia

Classes in org.apache.hadoop.metrics.ganglia that implement MetricsContext
`class` | `GangliaContext` Context for sending metrics to Ganglia.
`class` | `GangliaContext31` Context for sending metrics to Ganglia version 3.1.x.

Uses of MetricsContext in org.apache.hadoop.metrics.jvm

Methods in org.apache.hadoop.metrics.jvm with parameters of type MetricsContext
`void` | `JvmMetrics.doUpdates(MetricsContext context)` This will be called periodically (with the period being configuration dependent).

Uses of MetricsContext in org.apache.hadoop.metrics.spi

Classes in org.apache.hadoop.metrics.spi that implement MetricsContext
`class` | `AbstractMetricsContext` The main class of the Service Provider Interface.
`class` | `CompositeContext`
`class` | `NoEmitMetricsContext` A MetricsContext that does not emit data, but, unlike NullContextWithUpdate, does save it for retrieval with getAllRecords().
`class` | `NullContext` Null metrics context: a metrics context which does nothing.
`class` | `NullContextWithUpdateThread` A null context which has a thread calling periodically when monitoring is started.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2009 The Apache Software Foundation