|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MetricsContext | |
---|---|
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.spi | The Service Provider Interface for the Metrics API. |
Uses of MetricsContext in org.apache.hadoop.metrics |
---|
Methods in org.apache.hadoop.metrics that return MetricsContext | |
---|---|
MetricsContext |
ContextFactory.getContext(String contextName)
Returns the named MetricsContext instance, constructing it if necessary using the factory's current configuration attributes. |
static MetricsContext |
MetricsUtil.getContext(String contextName)
Utility method to return the named context. |
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.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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |