mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jiri Kuhn (JIRA)" <j...@apache.org>
Subject [jira] Created: (FTPSERVER-259) Connection statistics not updated
Date Wed, 07 Jan 2009 15:26:44 GMT
Connection statistics not updated
---------------------------------

                 Key: FTPSERVER-259
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-259
             Project: FtpServer
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.0-M4
            Reporter: Jiri Kuhn


Methods

org.apache.ftpserver.impl.ServerFtpStatistics#setOpenConnection(FtpIoSession)
org.apache.ftpserver.impl.ServerFtpStatistics#setCloseConnection(FtpIoSession)

are never called from production code. 

Command SITE_STAT shows only zeros for connection statistics.


Really, really side note: I have looked at DefaultFtpStatistics class. The counters are AtomicIntegers.
As all counters are modified inside synchronized methods, I don't think there is any need
 for the counters to be AtomicInteger at all. Just int should be enough.

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


Mime
View raw message