@InterfaceAudience.Public @InterfaceStability.Evolving public class MetricsTag extends Object implements MetricsInfo
Constructor and Description |
---|
MetricsTag(MetricsInfo info,
String value)
Construct the tag with name, description and value
|
Modifier and Type | Method and Description |
---|---|
String |
description()
Typically the description corresponds to annotation
Metric.about()
or the name of the class. |
boolean |
equals(Object obj) |
int |
hashCode() |
MetricsInfo |
info() |
String |
name()
Typically name corresponds to annotation
Metric.value() or
the name of the class. |
String |
toString() |
String |
value()
Get the value of the tag
|
public MetricsTag(MetricsInfo info, String value)
info
- of the tagvalue
- of the tagpublic String name()
MetricsInfo
Metric.value()
or
the name of the class.name
in interface MetricsInfo
public String description()
MetricsInfo
Metric.about()
or the name of the class.description
in interface MetricsInfo
public MetricsInfo info()
public String value()
Copyright © 2024 Apache Software Foundation. All rights reserved.