public abstract class MetricDump extends Object
| Modifier and Type | Class and Description |
|---|---|
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. |
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
abstract byte |
getCategory()
Returns the category for this MetricDump.
|
String |
toString() |
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–2024 The Apache Software Foundation. All rights reserved.