[ http://issues.apache.org/jira/browse/DIRMINA-262?page=comments#action_12434393 ] Trustin Lee commented on DIRMINA-262: -------------------------------------
To answer your question in the mailing list, 1. Yes, you did very nice. 2. Yes, you have to synchronize filterWrite method. To sum up, you did it nicely! Why don't you attach your code here? MINA 0.8 is a stable release so we won't include it into the official distribution, but we will definitely include it in MINA 1.0. > Controlling rate of writes in Mina 0.8.2 > ---------------------------------------- > > Key: DIRMINA-262 > URL: http://issues.apache.org/jira/browse/DIRMINA-262 > Project: Directory MINA > Issue Type: New Feature > Affects Versions: 0.8.2 > Reporter: Hanson Char > > Creates a filter that throttle the write request according to a given rate, > so one can control the rate of physical network write operations to not > exceeding a specific number of messages. > For example, can I say for a particular socket connection session Mina should > write physically no more than 3 messages per second ? Message here means the > argument that get passed to session.write(Object). -- 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
