[ 
https://issues.apache.org/jira/browse/DIRMINA-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Lecharny closed DIRMINA-299.
-------------------------------------


> innacurate JMX statistics
> -------------------------
>
>                 Key: DIRMINA-299
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-299
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>         Environment: Fedora Core 5, Eclipse 3.2 using Java 1.4 compiler 
> settings.
>            Reporter: Mark Webb
>            Assignee: Julien Vermillard
>            Priority: Minor
>             Fix For: 1.0.2
>
>         Attachments: HttpProtocolHandler.java, jmx.diff, JmxTestMain.java
>
>
> The  class org.apache.mina.integration.jmx.IoServiceManager computes the 
> bytes read/written using the service's managed sessions using the method 
> IoService.getManagedSessions().  This method returns a java.util.Set object, 
> which only contains the sessions currently active.  
> The IoServiceManager class uses org.apache.mina.management.StatCollector 
> class to assist with tracking data throughput.  The StatCollector class only 
> operates on active sessions.
> The problem is that the values returned from the managed bean interface is 
> computed only on the currently active sessions.  Based on the names of the 
> methods, the values returned should be running totals, to include sessions 
> that are no longer active.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to