@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() |
boolean |
equals(Object obj) |
int |
hashCode() |
MetricsInfo |
info() |
String |
name() |
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()
name
in interface MetricsInfo
public String description()
description
in interface MetricsInfo
public MetricsInfo info()
Copyright © 2018 Apache Software Foundation. All rights reserved.