程序包 | 说明 |
---|---|
org.apache.hadoop.metrics2.lib |
限定符和类型 | 方法和说明 |
---|---|
void |
MetricsRegistry.add(String name,
long value,
MetricMutableFactory factory)
Decrement a metric by name.
|
void |
MetricsRegistry.decr(String name,
MetricMutableFactory factory)
Decrement a metric by name.
|
void |
MetricsRegistry.incr(String name,
MetricMutableFactory factory)
Increment a metric by name.
|
构造器和说明 |
---|
AbstractMetricsSource(String name,
MetricMutableFactory mf)
Construct the source with name and a mutable metrics factory
|
MetricsRegistry(String name,
MetricMutableFactory factory)
Construct the registry with a name and a metric factory
|
Copyright © 2009 The Apache Software Foundation