JDK-4718295 : RFE: Expose Monitor functionality through protected methods for subclassing
  • Type: Enhancement
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 5.0,6
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic,windows_xp
  • CPU: generic,x86
  • Submitted: 2002-07-22
  • Updated: 2019-07-12
  • Resolved: 2019-07-12
Related Reports
Relates :  
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.

Comments
very old RFE. No plans to address
12-07-2019

EVALUATION We are not planning to address this in the Java SE 7 platform.
21-10-2008

PUBLIC COMMENTS .
01-09-2004

EVALUATION Requires design work and testing, users can always redesign a monitor service on the side, or work from the source. ###@###.### 2002-07-22
22-07-2002