- <init>
Creates a new MetricName without a scope.
- getName
Returns the name of the Metric.
- getType
Returns the type to which the Metric belongs. For class-based metrics, this will
be the simple class
- getGroup
Returns the group to which the Metric belongs. For class-based metrics, this
will be the package nam
- getScope
Returns the scope of the Metric.
- hasScope
Returns true if the Metric has a scope, false otherwise.
- chooseGroup
If the group is empty, use the package name of the given class. Otherwise use
group
- chooseName
If name is empty, use the name of the given method. Otherwise use name
- chooseType
If the type is empty, use the simple name of the given class. Otherwise use type
- toString
- createMBeanName
- getMBeanName
Returns the MBean name for the Metric identified by this metric name.