@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER]) class ManagedMetric
Method-level annotation that indicates to expose a given bean property as a JMX attribute, with added descriptor properties to indicate that it is a metric. Only valid when used on a JavaBean getter.
Author
Jennifer Hickey
Since
3.0
See Also
org.springframework.jmx.export.metadata.ManagedMetric
ManagedMetric(category: String, currencyTimeLimit: Int, description: String, displayName: String, metricType: MetricType, persistPeriod: Int, persistPolicy: String, unit: String)
Method-level annotation that indicates to expose a given bean property as a JMX attribute, with added descriptor properties to indicate that it is a metric. Only valid when used on a JavaBean getter. |
val category: String |
|
val currencyTimeLimit: Int |
|
val description: String |
|
val displayName: String |
|
val metricType: MetricType |
|
val persistPeriod: Int |
|
val persistPolicy: String |
|
val unit: String |