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

Packages that use MetricsContext
org.apache.hadoop.dfs A distributed implementation of FileSystem
org.apache.hadoop.dfs.datanode.metrics   
org.apache.hadoop.ipc.metrics   
org.apache.hadoop.mapred A software framework for easily writing applications which process vast amounts of data (multi-terabyte data-sets) parallelly on large clusters (thousands of nodes) built of commodity hardware in a reliable, fault-tolerant manner. 
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.dfs
 

Methods in org.apache.hadoop.dfs with parameters of type MetricsContext
 void FSNamesystemMetrics.doUpdates(MetricsContext unused)
          Since this object is a registered updater, this method will be called periodically, e.g.
 void NameNodeMetrics.doUpdates(MetricsContext unused)
          Since this object is a registered updater, this method will be called periodically, e.g.
 

Uses of MetricsContext in org.apache.hadoop.dfs.datanode.metrics
 

Methods in org.apache.hadoop.dfs.datanode.metrics with parameters of type MetricsContext
 void DataNodeMetrics.doUpdates(MetricsContext unused)
          Since this object is a registered updater, this method will be called periodically, e.g.
 

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

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

Uses of MetricsContext in org.apache.hadoop.mapred
 

Methods in org.apache.hadoop.mapred with parameters of type MetricsContext
 void TaskTracker.TaskTrackerMetrics.doUpdates(MetricsContext unused)
          Since this object is a registered updater, this method will be called periodically, e.g.
 

Uses of MetricsContext in org.apache.hadoop.metrics
 

Methods in org.apache.hadoop.metrics that return MetricsContext
static MetricsContext MetricsUtil.getContext(String contextName)
          Utility method to return the named context.
 MetricsContext ContextFactory.getContext(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 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.
 

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 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.
 



Copyright © 2008 The Apache Software Foundation