| Package | Description |
|---|---|
| org.apache.hadoop.metrics2.lib |
A collection of library classes for implementing metrics sources
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
MutableCounter |
The mutable counter (monotonically increasing) metric interface
|
class |
MutableCounterInt |
A mutable int counter for implementing metrics sources
|
class |
MutableCounterLong |
A mutable long counter
|
class |
MutableGauge |
The mutable gauge metric interface
|
class |
MutableGaugeFloat |
A mutable float gauge.
|
class |
MutableGaugeInt |
A mutable int gauge
|
class |
MutableGaugeLong |
A mutable long gauge
|
class |
MutableInverseQuantiles |
Watches a stream of long values, maintaining online estimates of specific
quantiles with provably low error bounds.
|
class |
MutableQuantiles |
Watches a stream of long values, maintaining online estimates of specific
quantiles with provably low error bounds.
|
class |
MutableRate |
A convenient mutable metric for throughput measurement
|
class |
MutableRates |
Helper class to manage a group of mutable rate metrics
This class synchronizes all accesses to the metrics it
contains, so it should not be used in situations where
there is high contention on the metrics.
|
class |
MutableRatesWithAggregation |
Helper class to manage a group of mutable rate metrics.
|
class |
MutableRollingAverages |
This class maintains a group of rolling average metrics.
|
class |
MutableStat |
A mutable metric with stats.
|
| Modifier and Type | Method | Description |
|---|---|---|
MutableMetric |
MetricsRegistry.get(java.lang.String name) |
Get a metric by name
|
protected MutableMetric |
MutableMetricsFactory.newForField(java.lang.reflect.Field field,
Metric annotation) |
Override to handle custom mutable metrics for fields
|
protected MutableMetric |
MutableMetricsFactory.newForMethod(java.lang.Object source,
java.lang.reflect.Method method,
Metric annotation) |
Override to handle custom mutable metrics for methods
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.