You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2016/03/22 15:05:38 UTC
svn commit: r1736192 -
/httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/conn/PoolingHttpClientConnectionManager.java
Author: olegk
Date: Tue Mar 22 14:05:37 2016
New Revision: 1736192
URL: http://svn.apache.org/viewvc?rev=1736192&view=rev
Log:
HTTPCLIENT-1730: javadoc improvements
Modified:
httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/conn/PoolingHttpClientConnectionManager.java
Modified: httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/conn/PoolingHttpClientConnectionManager.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/conn/PoolingHttpClientConnectionManager.java?rev=1736192&r1=1736191&r2=1736192&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/conn/PoolingHttpClientConnectionManager.java (original)
+++ httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/conn/PoolingHttpClientConnectionManager.java Tue Mar 22 14:05:37 2016
@@ -84,6 +84,11 @@ import org.apache.http.util.Asserts;
* can be adjusted using {@link ConnPoolControl} methods.
* </p>
* <p>
+ * Total time to live (TTL) set at construction time defines maximum life span
+ * of persistent connections regardless of their expiration setting. No persistent
+ * connection will be re-used past its TTL value.
+ * </p>
+ * <p>
* The handling of stale connections was changed in version 4.4.
* Previously, the code would check every connection by default before re-using it.
* The code now only checks the connection if the elapsed time since