Annotation Interface 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:
  • 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:
      ""