[jboss-jira] [JBoss JIRA] Commented: (JGRP-681) Incorrect informations using JMX on MuxChannel

Vladimir Blagojevic (JIRA) jira-events at lists.jboss.org
Mon Feb 4 20:30:03 EST 2008


    [ http://jira.jboss.com/jira/browse/JGRP-681?page=comments#action_12398164 ] 
            
Vladimir Blagojevic commented on JGRP-681:
------------------------------------------

Resolved on HEAD:

  Revision  Changes    Path
  1.48      +9 -3      JGroups/src/org/jgroups/mux/MuxChannel.java
  1.170     +7 -7      JGroups/src/org/jgroups/JChannel.java


Resolved on 2.6:

  1.38.2.7  +9 -3      JGroups/src/org/jgroups/mux/MuxChannel.java
  1.158.2.9 +22 -19    JGroups/src/org/jgroups/JChannel.java

> Incorrect informations using JMX on MuxChannel
> ----------------------------------------------
>
>                 Key: JGRP-681
>                 URL: http://jira.jboss.com/jira/browse/JGRP-681
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 2.6.1, 2.6, 2.6.2, 2.7, 3.0
>            Reporter: Khanh Maudoux
>         Assigned To: Bela Ban
>            Priority: Minor
>             Fix For: 2.4.2, 2.6.2, 2.7
>
>
> the JMX method dumpStats() on a MuxChannel displays information from the "super" channel.
> So, I suggest:
> - making the private method JChannel.dumpChannelStats() protected
> - replace the content of MuxChannel.dumpStats() with:
>        Map retval=mux.getChannel().getProtocolStack().dumpStats();
>        if(retval != null) {
>            Map tmp=dumpChannelStats();
>            if(tmp != null)
>                retval.put("channel", tmp);
>        }
>        return retval;
> After this changes, the JMX method dumpStats() will display the protocol for
> the current MuxChannel and the correct number of sent messages.

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

        



More information about the jboss-jira mailing list