Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4997060

JSR003: THRESHOLD_ERROR notifications are no more emitted when type is incorrect

XMLWordPrintable

    • b46
    • generic
    • generic
    • Verified

      When defining the counter monitor, the threshold, offset and modulus
      must be of the same type (either Integer or Long or Short or Byte).

      It seems that the type is no more checked as no more THRESHOLD_ERROR
      notifications are emitted when counter monitor attributes have different
      types (only the min and max values seems to be checked).

      The javadoc explicitly says:
      public static final java.lang.String THRESHOLD_ERROR
          Notification type denoting that the type of the thresholds, offset or modulus is not correct. This notification is fired by counter and gauge monitors.
          The value of this notification type is jmx.monitor.error.threshold.

      Same problem with gauge monitor.

      ###@###.### 2004-02-19

            emcmanus Eamonn McManus
            slions Sandra Lions-piron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: