public class MetricsKeyWrapper extends Object
MetricsKey output dynamic, custom string content| Constructor and Description |
|---|
MetricsKeyWrapper(MetricsKey metricsKey,
MetricsPlaceValue placeType)
When the MetricsPlaceType is null, it is equivalent to a single MetricsKey.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
MetricsLevel |
getLevel() |
MetricsKey |
getMetricsKey() |
MetricsPlaceValue |
getPlaceType() |
MetricSample.Type |
getSampleType() |
String |
getType() |
int |
hashCode() |
boolean |
isKey(MetricsKey metricsKey,
String registryOpType) |
MetricsKeyWrapper |
setSampleType(MetricSample.Type sampleType) |
String |
targetDesc() |
String |
targetKey() |
static MetricsKeyWrapper |
wrapper(MetricsKey metricsKey) |
public MetricsKeyWrapper(MetricsKey metricsKey, @Nullable MetricsPlaceValue placeType)
public MetricsKeyWrapper setSampleType(MetricSample.Type sampleType)
public MetricSample.Type getSampleType()
public MetricsPlaceValue getPlaceType()
public String getType()
public MetricsKey getMetricsKey()
public boolean isKey(MetricsKey metricsKey, String registryOpType)
public MetricsLevel getLevel()
public String targetKey()
public String targetDesc()
public static MetricsKeyWrapper wrapper(MetricsKey metricsKey)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.