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

RFE: Expose Monitor functionality through protected methods for subclassing

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 5.0, 6
    • Fix Version/s: tbd
    • Component/s: core-svc
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: