[jboss-jira] [JBoss JIRA] Created: (JGRP-834) Protocol: dumpStats() should dump all JMX information

Bela Ban (JIRA) jira-events at lists.jboss.org
Fri Oct 10 04:59:20 EDT 2008


Protocol: dumpStats() should dump all JMX information
-----------------------------------------------------

                 Key: JGRP-834
                 URL: https://jira.jboss.org/jira/browse/JGRP-834
             Project: JGroups
          Issue Type: Feature Request
            Reporter: Bela Ban
            Assignee: Vladimir Blagojevic
            Priority: Minor
             Fix For: 2.7


Protocol.dumpStats() can be overridden by protocols, but few actually do this.

Since we have now annotations to find all of the attrs exposed for JMX, we should do the following in Protocol.dumpStats():

- Iterate though all protocols
- For each protocol P:
  - Find all JMX attributes
  - For each attribute:
    - Get the name and value (toString() or "null" if null)
    - Add the name and value to the hashmap
- Return the hashmap

Protocols overriding dumpStats() will selectively override values already present in the hashmap

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list