[jboss-jira] [JBoss JIRA] Closed: (JBREM-618) Support CallbackPoller configuration.
Ron Sigal (JIRA)
jira-events at jboss.com
Thu Nov 16 18:51:41 EST 2006
[ http://jira.jboss.com/jira/browse/JBREM-618?page=all ]
Ron Sigal closed JBREM-618.
---------------------------
Resolution: Done
CallbackPoller can be configured to print statistics:
CallbackHandler callbackHandler = new CallbackHandler();
HashMap metadata = new HashMap();
metadata.put(CallbackPoller.REPORT_STATISTICS, "true");
client.addListener(callbackHandler, metadata);
Sample code is in package org.jboss.remoting.samples.callback.statistics.
> Support CallbackPoller configuration.
> -------------------------------------
>
> Key: JBREM-618
> URL: http://jira.jboss.com/jira/browse/JBREM-618
> Project: JBoss Remoting
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 2.2.0.Alpha3 (Bluto)
> Reporter: Ron Sigal
> Assigned To: Ron Sigal
> Priority: Minor
> Fix For: 2.2.0.Beta1 (Bluto)
>
>
> JBREM-617 suggests CallbackPoller needs its own time thread. It can be scheduled by Timer.scheduleAtFixedRate() or Timer.schedule(). This choice could be made available to the application. Also, it would be useful to log the number of callbacks arriving at each polling round, the number of callbacks waiting to be processed, and the number of callbacks waiting to be acknowledged. These statistics could help an application determine an appropriate polling frequency.
--
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