| 限定符和类型 | 类和说明 |
|---|---|
class |
CachedGauge<T>
A
Gauge implementation which caches its value for a period of time. |
class |
DerivativeGauge<F,T>
A gauge whose value is derived from the value of another gauge.
|
class |
JmxAttributeGauge
A
Gauge implementation which queries an MBeanServerConnection for an attribute of an object. |
class |
PersistentGauge<T>
A subclass of
Gauge which should be persistent. |
class |
RatioGauge
A gauge which measures the ratio of one value to another.
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract SortedMap<MetricName,Gauge> |
MetricRegistry.getGauges()
Returns a map of all the gauges in the registry and their names.
|
abstract SortedMap<MetricName,Gauge> |
MetricRegistry.getGauges(MetricFilter filter)
Returns a map of all the gauges in the registry and their names which match the given filter.
|
SortedMap<MetricName,Gauge> |
NOPMetricManager.getGauges(String group,
MetricFilter filter) |
SortedMap<MetricName,Gauge> |
IMetricManager.getGauges(String group,
MetricFilter filter) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Collector.collect(MetricName name,
Gauge gauge,
long timestamp) |
void |
MetricRegistryListener.onGaugeAdded(MetricName name,
Gauge<?> gauge)
Called when a
Gauge is added to the registry. |
void |
MetricRegistryListener.Base.onGaugeAdded(MetricName name,
Gauge<?> gauge) |
Copyright © 2019. All rights reserved.