程序包 | 说明 |
---|---|
org.apache.hadoop.metrics |
Note, this package is deprecated in favor of
org.apache.hadoop.metrics2 usage. |
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 |
Note, this package is deprecated in favor of
org.apache.hadoop.metrics2 usage. |
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
Collection<MetricsContext> |
ContextFactory.getAllContexts()
已过时。
Returns all MetricsContexts built by this factory.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 类和说明 |
---|---|
class |
FileContext
已过时。
use
FileSink instead. |
限定符和类型 | 类和说明 |
---|---|
class |
GangliaContext
已过时。
in favor of
org.apache.hadoop.metrics2 usage. |
class |
GangliaContext31
Context for sending metrics to Ganglia version 3.1.x.
3.1.1 has a slightly different wire portal compared to 3.0.x.
|
限定符和类型 | 方法和说明 |
---|---|
void |
JvmMetrics.doUpdates(MetricsContext context)
已过时。
This will be called periodically (with the period being configuration
dependent).
|
限定符和类型 | 类和说明 |
---|---|
class |
AbstractMetricsContext
已过时。
in favor of
org.apache.hadoop.metrics2 usage. |
class |
CompositeContext
已过时。
in favor of
org.apache.hadoop.metrics2 usage. |
class |
NoEmitMetricsContext
已过时。
in favor of
org.apache.hadoop.metrics2 usage. |
class |
NullContext
已过时。
in favor of
org.apache.hadoop.metrics2 usage. |
class |
NullContextWithUpdateThread
已过时。
in favor of
org.apache.hadoop.metrics2 usage. |
Copyright © 2009 The Apache Software Foundation