open class ManagedMetric : AbstractJmxAttribute
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.
Author
Jennifer Hickey
Since
3.0
See Also
org.springframework.jmx.export.assembler.MetadataMBeanInfoAssembler
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. |
open fun getCategory(): String
The category of this metric (ex. throughput, performance, utilization). |
|
open fun getDisplayName(): String
A display name for this metric. |
|
open fun getMetricType(): MetricType
A description of how this metric's values change over time. |
|
open fun getPersistPeriod(): Int
The persist period for this metric. |
|
open fun getPersistPolicy(): String
The persist policy for this metric. |
|
open fun getUnit(): String
The expected unit of measurement values. |
|
open fun setCategory(category: String): Unit
The category of this metric (ex. throughput, performance, utilization). |
|
open fun setDisplayName(displayName: String): Unit
A display name for this metric. |
|
open fun setMetricType(metricType: MetricType): Unit
A description of how this metric's values change over time. |
|
open fun setPersistPeriod(persistPeriod: Int): Unit
The persist period for this metric. |
|
open fun setPersistPolicy(persistPolicy: String): Unit
The persist policy for this metric. |
|
open fun setUnit(unit: String): Unit
The expected unit of measurement values. |