Class ManagedMetric
java.lang.Object
org.springframework.jmx.export.metadata.AbstractJmxAttribute
org.springframework.jmx.export.metadata.ManagedMetric
Metadata that indicates to expose a given bean property as a JMX attribute,
 with additional descriptor properties that indicate that the attribute is a
 metric. Only valid when used on a JavaBean getter.
- Since:
- 3.0
- Author:
- Jennifer Hickey
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionThe category of this metric (ex.A display name for this metric.A description of how this metric's values change over time.intThe persist period for this metric.The persist policy for this metric.getUnit()The expected unit of measurement values.voidsetCategory(@Nullable String category) The category of this metric (ex.voidsetDisplayName(@Nullable String displayName) A display name for this metric.voidsetMetricType(MetricType metricType) A description of how this metric's values change over time.voidsetPersistPeriod(int persistPeriod) The persist period for this metric.voidsetPersistPolicy(@Nullable String persistPolicy) The persist policy for this metric.voidThe expected unit of measurement values.Methods inherited from class org.springframework.jmx.export.metadata.AbstractJmxAttributegetCurrencyTimeLimit, getDescription, setCurrencyTimeLimit, setDescription
- 
Constructor Details- 
ManagedMetricpublic ManagedMetric()
 
- 
- 
Method Details- 
setCategoryThe category of this metric (ex. throughput, performance, utilization).
- 
getCategoryThe category of this metric (ex. throughput, performance, utilization).
- 
setDisplayNameA display name for this metric.
- 
getDisplayNameA display name for this metric.
- 
setMetricTypeA description of how this metric's values change over time.
- 
getMetricTypeA description of how this metric's values change over time.
- 
setPersistPeriodpublic void setPersistPeriod(int persistPeriod) The persist period for this metric.
- 
getPersistPeriodpublic int getPersistPeriod()The persist period for this metric.
- 
setPersistPolicyThe persist policy for this metric.
- 
getPersistPolicyThe persist policy for this metric.
- 
setUnitThe expected unit of measurement values.
- 
getUnitThe expected unit of measurement values.
 
-