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.
- Since:
- 3.0
- Author:
- Jennifer Hickey
- See Also:
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionint
int
-
Element Details
-
category
String category- Default:
- ""
-
currencyTimeLimit
int currencyTimeLimit- Default:
- -1
-
description
String description- Default:
- ""
-
displayName
String displayName- Default:
- ""
-
metricType
MetricType metricType- Default:
- GAUGE
-
persistPeriod
int persistPeriod- Default:
- -1
-
persistPolicy
String persistPolicy- Default:
- ""
-
unit
String unit- Default:
- ""
-