[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16747445#comment-16747445
 ] 

Oleg Kalnichevski commented on HTTPCLIENT-1963:
-----------------------------------------------

Why do you need to create more than one {{HttpClient}} instance? Creating a new 
{{HttpClient}} per service call makes no sense.

Oleg

> Making Log Object in MainClientExec Static
> ------------------------------------------
>
>                 Key: HTTPCLIENT-1963
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1963
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>            Reporter: Yuyang Wang
>            Priority: Major
>
> In MainClientExec constructor, the Log object is retrieved from LogFactory. 
> For clients which construct a lot of MainClientExec instances, it may improve 
> the performance by making the log reference static.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to