[jboss-remoting-issues] [JBoss JIRA] Commented: (JBREM-986) Make configurable time MicroSocketClientInvoker should wait to get connection from pool

Ron Sigal (JIRA) jira-events at lists.jboss.org
Wed May 28 19:54:49 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBREM-986?page=comments#action_12414711 ] 
            
Ron Sigal commented on JBREM-986:
---------------------------------

Altered org.jboss.test.remoting.transport.socket.configuration.SocketRetryConfigTestCase, which used to test configuration of "numberOfRetries".

> Make configurable time MicroSocketClientInvoker should wait to get connection from pool
> ---------------------------------------------------------------------------------------
>
>                 Key: JBREM-986
>                 URL: http://jira.jboss.com/jira/browse/JBREM-986
>             Project: JBoss Remoting
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Ron Sigal
>         Assigned To: Ron Sigal
>             Fix For: 2.4.0.GA (Pinto)
>
>
> 1. org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection() waits to get a semaphore, which gives it permission to try to obtain a network connection.  Currently,  the maximum wait time is hard coded to be 30000 ms.  This value should be configurable.
> 2. The use of semaphores replaces older code that looped, trying to obtain a connection.  The number of attempts was governed by the parameter "numbofOfRetries". This parameter should be eliminated.

-- 
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-remoting-issues mailing list