Class MetricDump
java.lang.Object
org.apache.flink.runtime.metrics.dump.MetricDump
- Direct Known Subclasses:
MetricDump.CounterDump,MetricDump.GaugeDump,MetricDump.HistogramDump,MetricDump.MeterDump
A container for a dumped metric that contains the scope, name and value(s) of the metric.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classContainer for the value of aCounter.static classContainer for the value of aGaugeas a string.static classContainer for the values of aHistogram.static classContainer for the rate of aMeter. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byteCategories to be returned bygetCategory()to avoid instanceof checks.static final bytestatic final bytestatic final bytefinal StringThe name of the stored metric.final QueryScopeInfoThe scope information for the stored metric. -
Method Summary
Modifier and TypeMethodDescriptionabstract byteReturns the category for this MetricDump.toString()
-
Field Details
-
METRIC_CATEGORY_COUNTER
public static final byte METRIC_CATEGORY_COUNTERCategories to be returned bygetCategory()to avoid instanceof checks.- See Also:
-
METRIC_CATEGORY_GAUGE
public static final byte METRIC_CATEGORY_GAUGE- See Also:
-
METRIC_CATEGORY_HISTOGRAM
public static final byte METRIC_CATEGORY_HISTOGRAM- See Also:
-
METRIC_CATEGORY_METER
public static final byte METRIC_CATEGORY_METER- See Also:
-
scopeInfo
The scope information for the stored metric. -
name
The name of the stored metric.
-
-
Method Details