Return-Path: X-Original-To: apmail-hc-commits-archive@www.apache.org Delivered-To: apmail-hc-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D839CD415 for ; Sun, 9 Sep 2012 11:07:56 +0000 (UTC) Received: (qmail 93759 invoked by uid 500); 9 Sep 2012 11:07:56 -0000 Delivered-To: apmail-hc-commits-archive@hc.apache.org Received: (qmail 93695 invoked by uid 500); 9 Sep 2012 11:07:55 -0000 Mailing-List: contact commits-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list commits@hc.apache.org Received: (qmail 93669 invoked by uid 99); 9 Sep 2012 11:07:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Sep 2012 11:07:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Sep 2012 11:07:52 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id DC35D23888E4 for ; Sun, 9 Sep 2012 11:07:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1382450 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/BasicClientConnectionManager.java Date: Sun, 09 Sep 2012 11:07:08 -0000 To: commits@hc.apache.org From: olegk@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120909110708.DC35D23888E4@eris.apache.org> Author: olegk Date: Sun Sep 9 11:07:08 2012 New Revision: 1382450 URL: http://svn.apache.org/viewvc?rev=1382450&view=rev Log: HTTPCLIENT-1230: improved javadocs of BasicClientConnectionManager Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/BasicClientConnectionManager.java Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/BasicClientConnectionManager.java URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/BasicClientConnectionManager.java?rev=1382450&r1=1382449&r2=1382450&view=diff ============================================================================== --- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/BasicClientConnectionManager.java (original) +++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/BasicClientConnectionManager.java Sun Sep 9 11:07:08 2012 @@ -46,16 +46,16 @@ import org.apache.http.conn.scheme.Schem /** * A connection manager for a single connection. This connection manager maintains only one active - * connection at a time. Even though this class is thread-safe it ought to be used by one execution - * thread only. + * connection. Even though this class is fully thread-safe it ought to be used by one execution + * thread only, as only one thread a time can lease the connection at a time. *

- * BasicClientConnManager will make an effort to reuse the connection for subsequent requests + * This connection manager will make an effort to reuse the connection for subsequent requests * with the same {@link HttpRoute route}. It will, however, close the existing connection and * open it for the given route, if the route of the persistent connection does not match that * of the connection request. If the connection has been already been allocated * {@link IllegalStateException} is thrown. *

- * This connection manager implementation can be used inside a EJB container instead of + * This connection manager implementation should be used inside an EJB container instead of * {@link PoolingClientConnectionManager}. * * @since 4.2