Annotation 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.
- 从以下版本开始:
- 4.0
- 作者:
- Jennifer Hickey
- 另请参阅:
-
可选元素概要
可选元素修饰符和类型可选元素说明intint
-
元素详细资料
-
category
String category- 默认值:
- ""
-
currencyTimeLimit
int currencyTimeLimit- 默认值:
- -1
-
description
String description- 默认值:
- ""
-
displayName
String displayName- 默认值:
- ""
-
metricType
MetricType metricType- 默认值:
- GAUGE
-
persistPeriod
int persistPeriod- 默认值:
- -1
-
persistPolicy
String persistPolicy- 默认值:
- ""
-
unit
String unit- 默认值:
- ""
-