Annotation Type ManagedMetric
@Target(METHOD) @Retention(RUNTIME) @Documented public @interface 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.- Since:
- 3.0
- Author:
- Jennifer Hickey
- See Also:
ManagedMetric
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringcategoryintcurrencyTimeLimitStringdescriptionStringdisplayNameMetricTypemetricTypeintpersistPeriodStringpersistPolicyStringunit
currencyTimeLimit
int currencyTimeLimit
- Default:
- -1
description
String description
- Default:
- ""
displayName
String displayName
- Default:
- ""
metricType
MetricType metricType
- Default:
- org.springframework.jmx.support.MetricType.GAUGE
persistPeriod
int persistPeriod
- Default:
- -1
persistPolicy
String persistPolicy
- Default:
- ""