You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ba...@apache.org on 2007/04/19 15:42:09 UTC

svn commit: r530412 - /jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericObjectPool.java

Author: bayard
Date: Thu Apr 19 06:42:08 2007
New Revision: 530412

URL: http://svn.apache.org/viewvc?view=rev&rev=530412
Log:
Adding softMinEvictableIdleTimeMillis to the class javadoc

Modified:
    jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericObjectPool.java

Modified: jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericObjectPool.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericObjectPool.java?view=diff&rev=530412&r1=530411&r2=530412
==============================================================================
--- jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericObjectPool.java (original)
+++ jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericObjectPool.java Thu Apr 19 06:42:08 2007
@@ -115,6 +115,14 @@
  *   {@link PoolableObjectFactory#validateObject} method.  Objects
  *   that fail to validate will be dropped from the pool.
  *  </li>
+ *  <li>
+ *   {@link #setSoftMinEvictableIdleTimeMillis <i>softMinEvictableIdleTimeMillis</i>} 
+ *   specifies the minimum amount of time an object may sit idle in the pool
+ *   before it is eligible for eviction by the idle object evictor
+ *   (if any), with the extra condition that at least "minIdle" amount of object 
+ *   remain in the pool.  When non-positive, no objects will be evicted from the pool
+ *   due to idle time alone.
+ *  </li>
  * </ul>
  * <p>
  * GenericObjectPool is not usable without a {@link PoolableObjectFactory}.  A



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