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

RFE: Expose Monitor functionality through protected methods for subclassing

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P3 P3
    • tbd
    • 5.0, 6
    • core-svc

      Could generalize the Monitor class so that it can usefully be subclassed for functionality other than that exposed by the three existing subclasses. For example, there could be a method that retrieves the value to be sampled, and another that determines whether a notification is necessary. This would allow monitoring of attributes of arbitrary data types, monitoring with more than one threshold, etc. The Monitor class would provide the common framework of periodic sampling, remembering whether a notification has already been emitted, maintaining the list of monitored MBeans, etc.

            emcmanus Eamonn McManus
            emcmanus Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: