注释类型 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.- 从以下版本开始:
- 3.0
- 作者:
- Jennifer Hickey
- 另请参阅:
ManagedMetric
currencyTimeLimit
int currencyTimeLimit
- 默认值:
- -1
description
String description
- 默认值:
- ""
displayName
String displayName
- 默认值:
- ""
metricType
MetricType metricType
- 默认值:
- org.springframework.jmx.support.MetricType.GAUGE
persistPeriod
int persistPeriod
- 默认值:
- -1
persistPolicy
String persistPolicy
- 默认值:
- ""