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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b46
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: