hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Potapov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HTTPASYNC-48) InternalHttpAsyncClientThread.reactorThread should be created via ThreadFactory
Date Thu, 11 Jul 2013 19:21:48 GMT

     [ https://issues.apache.org/jira/browse/HTTPASYNC-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dmitry Potapov updated HTTPASYNC-48:
------------------------------------

    Attachment: httpasyncclient.patch

Here the patch, which allows ThreadFactory configuration in HttpAsyncClientBuilder. I've write
it on top of trunk and "mvn install" detected no issues. This patch can be also applied to
source of 4.0-beta4 without any problems.
                
> InternalHttpAsyncClientThread.reactorThread should be created via ThreadFactory
> -------------------------------------------------------------------------------
>
>                 Key: HTTPASYNC-48
>                 URL: https://issues.apache.org/jira/browse/HTTPASYNC-48
>             Project: HttpComponents HttpAsyncClient
>          Issue Type: Improvement
>    Affects Versions: 4.0-beta4, Future
>            Reporter: Dmitry Potapov
>            Priority: Trivial
>         Attachments: httpasyncclient.patch
>
>
> InternalHttpAsyncClientThread.reactorThread is created via implicit call to "new Thread()"
which doesn't allow to configure reactor thread priority and name, which may lead to some
inconvenience during debug or performance profiling.
> My proposal is to pass java.util.concurrent.ThreadFactory to InternalHttpAsyncClientThread.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message