hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhowmik, Bindul" <bindulbhow...@gmail.com>
Subject Re: SocketConfig (v5)
Date Thu, 09 Feb 2017 21:56:36 GMT
On Thu, Feb 9, 2017 at 2:53 PM, Gary Gregory <garydgregory@gmail.com> wrote:
> On Thu, Feb 9, 2017 at 12:48 PM, Oleg Kalnichevski <olegk@apache.org> wrote:
>
>> On Thu, 2017-02-09 at 12:15 -0800, Gary Gregory wrote:
>> > Hi All:
>> >
>> > I've never been a fan of 'unscaled' methods like:
>> >
>> > org.apache.hc.core5.http.config.SocketConfig.Builder.setSoTimeout(int
>> > )
>> >
>> > I'd like to either add or replace this method with:
>> >
>> > org.apache.hc.core5.http.config.SocketConfig.Builder.setSoTimeout(lon
>> > g,
>> > TimeUnit)
>> >
>> > Thoughts on adding a method replacing what is there?
>> >
>> > Gary
>> >
>>
>> How shall the getter look like in this case?
>>
>
>  I would rename or add long getSoTimeoutMillis()

How about getSoTimeout(TimeUnit) ? Maybe in addition to getSoTimeoutMillis().

Bindul

>
> Gary
>
>
>> Oleg
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
>> For additional commands, e-mail: dev-help@hc.apache.org
>>
>>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8>
>
> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459>
> JUnit in Action, Second Edition
> <https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22>
>
> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021>
> Spring Batch in Action
> <https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action>
> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

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


Mime
View raw message