| 限定符和类型 | 接口和说明 |
|---|---|
interface |
Counter
A mutable number optimized for high concurrency counting.
|
interface |
Gauge<T>
A metrics which measures a discrete value.
|
interface |
Histogram
A metric which measures the distribution of values.
|
interface |
Meter
A metric which measure the rate at which some operation is invoked.
|
interface |
MetricRegistry
General purpose factory for creating various metrics.
|
interface |
MetricSet
A set of named metrics.
|
interface |
Timer
|
| 限定符和类型 | 方法和说明 |
|---|---|
Metric |
MetricRegistry.register(String name,
Metric metric)
Registers the
Metric with the given name if there does not exist one with the same
name. |
| 限定符和类型 | 方法和说明 |
|---|---|
Optional<Metric> |
MetricRegistry.get(String name)
Returns previously registered metric with the name if any.
|
Map<String,Metric> |
MetricSet.getMetrics()
A map of metric names to metrics.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Metric |
MetricRegistry.register(String name,
Metric metric)
Registers the
Metric with the given name if there does not exist one with the same
name. |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.