commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r1545921 - /commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
Date Wed, 27 Nov 2013 04:29:33 GMT
Author: psteitz
Date: Wed Nov 27 04:29:32 2013
New Revision: 1545921

URL: http://svn.apache.org/r1545921
Log:
Javadoc fixes.

Modified:
    commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java

Modified: commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java?rev=1545921&r1=1545920&r2=1545921&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
Wed Nov 27 04:29:32 2013
@@ -293,7 +293,7 @@ public class GenericKeyedObjectPool<K,T>
      * the given key, behavior depends on the {@link #getMaxTotalPerKey()
      * maxTotalPerKey}, {@link #getMaxTotal() maxTotal}, and (if applicable)
      * {@link #getBlockWhenExhausted()} and the value passed in to the
-     * <code>borrowMaxWait</code> parameter. If the number of instances checked
+     * <code>borrowMaxWaitMillis</code> parameter. If the number of instances
checked
      * out from the sub-pool under the given key is less than
      * <code>maxTotalPerKey</code> and the total number of instances in
      * circulation (under all keys) is less than <code>maxTotal</code>, a new
@@ -310,9 +310,9 @@ public class GenericKeyedObjectPool<K,T>
      * passed in to the <code>borrowMaxWait</code> parameter.
      * <p>
      * When <code>maxTotal</code> is set to a positive value and this method
is
-     * invoked when at the limit with no idle instances available, an attempt is
-     * made to create room by clearing the oldest 15% of the elements from the
-     * keyed sub-pools.
+     * invoked when at the limit with no idle instances available under the requested
+     * key, an attempt is made to create room by clearing the oldest 15% of the
+     * elements from the keyed sub-pools.
      * <p>
      * When the pool is exhausted, multiple calling threads may be
      * simultaneously blocked waiting for instances to become available. A



Mime
View raw message