You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2017/04/24 23:18:04 UTC
[jira] [Commented] (HTTPCORE-451) Add a TimeValue class to wrap a
long and a TimeUnit
[ https://issues.apache.org/jira/browse/HTTPCORE-451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15982093#comment-15982093 ]
Gary Gregory commented on HTTPCORE-451:
---------------------------------------
Note that {{TimeValue}} is used everywhere it seems to make sense, not just the list from the description.
> Add a TimeValue class to wrap a long and a TimeUnit
> ---------------------------------------------------
>
> Key: HTTPCORE-451
> URL: https://issues.apache.org/jira/browse/HTTPCORE-451
> Project: HttpComponents HttpCore
> Issue Type: Improvement
> Components: HttpCore
> Affects Versions: 5.0-alpha2
> Reporter: Gary Gregory
> Assignee: Gary Gregory
> Fix For: 5.0-alpha3
>
>
> Add a TimeValue class to wrap a long and a TimeUnit,
> See {{org.apache.hc.core5.util.TimeValue}}.
> Use cases:
> - (/) {{org.apache.hc.core5.http.config.SocketConfig}}.
> - (/) {{org.apache.hc.core5.reactor.IOReactorConfig}}
> - (x) {{org.apache.hc.core5.http.HttpConnection.getSocketTimeout()}}
> - (x) {{org.apache.hc.core5.http.HttpConnection.setSocketTimeout(int)}}
--
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