Author: sebb Date: Fri May 4 21:36:19 2012 New Revision: 1334194 URL: http://svn.apache.org/viewvc?rev=1334194&view=rev Log: Javadoc
Modified: commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/ObjectPool.java Modified: commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/ObjectPool.java URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/ObjectPool.java?rev=1334194&r1=1334193&r2=1334194&view=diff ============================================================================== --- commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/ObjectPool.java (original) +++ commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/ObjectPool.java Fri May 4 21:36:19 2012 @@ -136,12 +136,14 @@ public interface ObjectPool<T> { * considered an approximation of the number of objects that can be * {@link #borrowObject borrowed} without creating any new instances. * Returns a negative value if this information is not available. + * @return the number of instances currently idle in this pool. */ int getNumIdle(); /** * Return the number of instances currently borrowed from this pool. Returns * a negative value if this information is not available. + * @return the number of instances currently borrowed from this pool. = */ int getNumActive();