public interface MetricName extends Comparable<MetricName>
Modifier and Type | Method and Description |
---|---|
String |
getGroup()
Returns the group to which the metric belongs.
|
String |
getName()
Returns the name of the metric.
|
String |
getSimpleName()
Return a simple java like name.
|
String |
getType()
Returns the type to which the Metric belongs.
|
MetricName |
withSuffix(String nameSuffix)
Create and return another MetricName based on this instance with an additional suffix added to
the name.
|
compareTo
String getGroup()
String getType()
String getName()
String getSimpleName()
MetricName withSuffix(String nameSuffix)
nameSuffix
- The addition text added to this metrics name.Copyright © 2014. All Rights Reserved.