You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2013/12/31 23:34:36 UTC

svn commit: r1554587 - /commons/proper/pool/trunk/src/site/xdoc/index.xml

Author: psteitz
Date: Tue Dec 31 22:34:36 2013
New Revision: 1554587

URL: http://svn.apache.org/r1554587
Log:
Added 2.1 migration note.

Modified:
    commons/proper/pool/trunk/src/site/xdoc/index.xml

Modified: commons/proper/pool/trunk/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/site/xdoc/index.xml?rev=1554587&r1=1554586&r2=1554587&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/site/xdoc/index.xml (original)
+++ commons/proper/pool/trunk/src/site/xdoc/index.xml Tue Dec 31 22:34:36 2013
@@ -150,5 +150,16 @@ public interface KeyedPoolableObjectFact
           some changes will be required to use the new attribute names.
         </p>
       </section>
+      <section name="Migrating from Pool 2.0">
+        <p>
+          Client code that uses Pool 2.0 should require no code changes to work
+          with Pool 2.1. The MBean interface
+          <a href="./apidocs/org/apache/commons/pool2/impl/DefaultPooledObjectInfoMBean.html"><code>DefaultPooledObjectInfoMBean</code></a>
+          has a new method in 2.1, <code>getBorrowedCount</code>, returning the number of times an
+          instance has been borrowed from the pool.  This interface, like the other MBean interfaces
+          included with pool 2.x, should not be implemented by client classes, as these interfaces
+          are subject to change in minor releases.
+        </p>
+      </section>
    </body>
 </document>