public class CounterMetricSample<T extends Number> extends MetricSample
MetricSample.Type| Constructor and Description |
|---|
CounterMetricSample(MetricsKeyWrapper metricsKeyWrapper,
Map<String,String> tags,
MetricsCategory category,
T value) |
CounterMetricSample(String name,
String description,
Map<String,String> tags,
MetricsCategory category,
T value) |
| Modifier and Type | Method and Description |
|---|---|
T |
getValue() |
equals, getBaseUnit, getCategory, getDescription, getName, getTags, getType, hashCode, setBaseUnit, setCategory, setDescription, setName, setTags, setType, toStringpublic CounterMetricSample(String name, String description, Map<String,String> tags, MetricsCategory category, T value)
public CounterMetricSample(MetricsKeyWrapper metricsKeyWrapper, Map<String,String> tags, MetricsCategory category, T value)
public T getValue()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.