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