[ http://issues.apache.org/jira/browse/DIRMINA-280?page=comments#action_12440767 ] Jian Wu commented on DIRMINA-280: ---------------------------------
Alternatively, you might want to consider implementing MBeanRegistration interface, then you can call "startCollectingStats()" in postRegister() method and call "stopCollectingStats()" in preDeregister() method. Thanks a lot! Jian > AutoStart setting for IoServiceManager.startCollectingStats(). > -------------------------------------------------------------- > > Key: DIRMINA-280 > URL: http://issues.apache.org/jira/browse/DIRMINA-280 > Project: Directory MINA > Issue Type: Improvement > Components: Integration > Affects Versions: 1.0 > Reporter: Trustin Lee > Priority: Minor > Fix For: 1.1 > > > IoServiceManager.startCollectingStats() has to be called by user manually to > start the collection of I/O statistics. It would be nice to provide a > constructor parameter that triggers startCollectingStats() to be invoked > automatically. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
