hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yair ogen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1826) Async Builder should include setting a ExecutorService
Date Wed, 10 May 2017 08:16:04 GMT

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

yair ogen commented on HTTPCLIENT-1826:
---------------------------------------

Nope - I need a hook into the reactor thread. not the main thread.
My idea works (my PR that is).

Your idea also works bu code duplication and double synchronize doesn't work good for me.

What's wrong with my PR suggestion?

> Async Builder should include setting a ExecutorService
> ------------------------------------------------------
>
>                 Key: HTTPCLIENT-1826
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1826
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>            Reporter: yair ogen
>             Fix For: 5.0 Alpha3
>
>
> Currently you only expose setting ThreadFactory. Not very useful if a user wants to send
in a different thread pool altogether.
> We must have an option to pass in thread pools especially if we want this async work
to co-exist in the same pool as other tasks.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message