Interface DescriptiveMetric
- 
- All Known Implementing Classes:
- DescriptiveCounter,- DescriptiveGauge,- DescriptiveHistogram,- DescriptiveMeter,- DescriptiveRatioGauge,- DescriptiveTimer
 
 public interface DescriptiveMetricAn interface for Metrics that know how to describe themselves and their units.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.StringgetDescription()java.lang.StringgetDescription(java.util.Locale locale)A short description of what this metric represents.default java.lang.StringgetUnits()java.lang.StringgetUnits(java.util.Locale locale)A short string representing the units of this metric.
 
- 
- 
- 
Method Detail- 
getDescriptiondefault java.lang.String getDescription() 
 - 
getDescriptionjava.lang.String getDescription(java.util.Locale locale) A short description of what this metric represents. For example "JVM Heap Size" or "Thread Count" or "Subsystem X script executions"
 - 
getUnitsdefault java.lang.String getUnits() 
 - 
getUnitsjava.lang.String getUnits(java.util.Locale locale) A short string representing the units of this metric. For example "MB" or "threads" or "executions"
 
- 
 
-