程序包 | 说明 |
---|---|
org.apache.hadoop.metrics2.lib |
限定符和类型 | 类和说明 |
---|---|
class |
MetricMutableCounter<T extends Number>
The mutable counter (monotonically increasing) metric interface
|
class |
MetricMutableCounterInt
A mutable int counter for implementing metrics sources
|
class |
MetricMutableCounterLong
A mutable long counter
|
class |
MetricMutableGauge<T extends Number>
The mutable gauge metric interface
|
class |
MetricMutableGaugeInt
A mutable int gauge
|
class |
MetricMutableGaugeLong
A mutable long gauge
|
class |
MetricMutableStat
A mutable metric with stats
Useful for keep throughput/latency stats.
|
限定符和类型 | 方法和说明 |
---|---|
MetricMutable |
MetricsRegistry.get(String name)
Get a metric by name
|
MetricMutable |
MetricMutableFactory.newMetric(String name)
Create a new mutable metric by name
Usually overridden by app specific factory
|
限定符和类型 | 方法和说明 |
---|---|
Set<Map.Entry<String,MetricMutable>> |
MetricsRegistry.metrics()
Get the metrics
|
Copyright © 2009 The Apache Software Foundation