@InterfaceAudience.Public @InterfaceStability.Evolving public class MetricsTag extends Object implements MetricsInfo
コンストラクタと説明 |
---|
MetricsTag(MetricsInfo info,
String value)
Construct the tag with name, description and value
|
修飾子とタイプ | メソッドと説明 |
---|---|
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
インタフェース内 MetricsInfo
public String description()
MetricsInfo
Metric.about()
or the name of the class.description
インタフェース内 MetricsInfo
public MetricsInfo info()
Copyright © 2016 Apache Software Foundation. All rights reserved.