public abstract class MetricDump extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MetricDump.CounterDump
Container for the value of a
Counter. |
static class |
MetricDump.GaugeDump
Container for the value of a
Gauge as a string. |
static class |
MetricDump.HistogramDump
Container for the values of a
Histogram. |
static class |
MetricDump.MeterDump
Container for the rate of a
Meter. |
| 限定符和类型 | 字段和说明 |
|---|---|
static byte |
METRIC_CATEGORY_COUNTER
Categories to be returned by
getCategory() to avoid instanceof checks. |
static byte |
METRIC_CATEGORY_GAUGE |
static byte |
METRIC_CATEGORY_HISTOGRAM |
static byte |
METRIC_CATEGORY_METER |
String |
name
The name of the stored metric.
|
QueryScopeInfo |
scopeInfo
The scope information for the stored metric.
|
public static final byte METRIC_CATEGORY_COUNTER
getCategory() to avoid instanceof checks.public static final byte METRIC_CATEGORY_GAUGE
public static final byte METRIC_CATEGORY_HISTOGRAM
public static final byte METRIC_CATEGORY_METER
public final QueryScopeInfo scopeInfo
public final String name
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.