| 程序包 | 说明 |
|---|---|
| com.github.netty.core.metrics |
| 限定符和类型 | 接口和说明 |
|---|---|
static interface |
MetricRegistry.MetricSupplier<T extends Metric> |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
Gauge<T>
A gauge metric is an instantaneous reading of a particular value.
|
interface |
Metered
An object which maintains mean and exponentially-weighted rate.
|
interface |
MetricSet
A set of named metrics.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
CachedGauge<T>
A
Gauge implementation which caches its value for a period of time. |
class |
Counter
An incrementing and decrementing counter metric.
|
class |
DerivativeGauge<F,T>
A gauge whose value is derived from the value of another gauge.
|
class |
Histogram
A metric which calculates the distribution of a value.
|
class |
JmxAttributeGauge
A
Gauge implementation which queries an MBeanServerConnection for an attribute of an object. |
class |
JvmAttributeGaugeSet
A set of gauges for the JVM name, vendor, and uptime.
|
class |
Meter
A meter metric which measures mean throughput and one-, five-, and fifteen-minute
exponentially-weighted moving average throughputs.
|
class |
MetricRegistry
A registry of metric instances.
|
class |
RatioGauge
A gauge which measures the ratio of one value to another.
|
class |
Timer
A timer metric which aggregates timing durations and provides duration statistics, plus
throughput statistics via
Meter. |
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends Metric> |
MetricRegistry.register(String name,
T metric)
Given a
Metric, registers it under the given name. |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,Metric> |
MetricSet.getMetrics()
A map of metric names to metrics.
|
Map<String,Metric> |
MetricRegistry.getMetrics() |
Map<String,Metric> |
JvmAttributeGaugeSet.getMetrics() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
MetricFilter.matches(String name,
Metric metric)
Returns
true if the metric matches the filter; false otherwise. |
Copyright © 2020. All rights reserved.