You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2013/10/30 17:32:40 UTC
svn commit: r3380 - in /dev/commons/pool: ./ binaries/ source/
Author: markt
Date: Wed Oct 30 16:32:36 2013
New Revision: 3380
Log:
Upload Commons Pool 2.0 RC1 for a release vote
Added:
dev/commons/pool/RELEASE-NOTES.txt (with props)
dev/commons/pool/binaries/commons-pool2-2.0-bin.tar.gz (with props)
dev/commons/pool/binaries/commons-pool2-2.0-bin.tar.gz.asc (with props)
dev/commons/pool/binaries/commons-pool2-2.0-bin.tar.gz.md5
dev/commons/pool/binaries/commons-pool2-2.0-bin.tar.gz.sha1
dev/commons/pool/binaries/commons-pool2-2.0-bin.zip (with props)
dev/commons/pool/binaries/commons-pool2-2.0-bin.zip.asc (with props)
dev/commons/pool/binaries/commons-pool2-2.0-bin.zip.md5
dev/commons/pool/binaries/commons-pool2-2.0-bin.zip.sha1
dev/commons/pool/source/commons-pool2-2.0-src.tar.gz (with props)
dev/commons/pool/source/commons-pool2-2.0-src.tar.gz.asc (with props)
dev/commons/pool/source/commons-pool2-2.0-src.tar.gz.md5
dev/commons/pool/source/commons-pool2-2.0-src.tar.gz.sha1
dev/commons/pool/source/commons-pool2-2.0-src.zip (with props)
dev/commons/pool/source/commons-pool2-2.0-src.zip.asc (with props)
dev/commons/pool/source/commons-pool2-2.0-src.zip.md5
dev/commons/pool/source/commons-pool2-2.0-src.zip.sha1
Added: dev/commons/pool/RELEASE-NOTES.txt
==============================================================================
--- dev/commons/pool/RELEASE-NOTES.txt (added)
+++ dev/commons/pool/RELEASE-NOTES.txt Wed Oct 30 16:32:36 2013
@@ -0,0 +1,74 @@
+ Apache Commons Pool 2.0 RELEASE NOTES
+
+The Apache Commons Pool team is pleased to announce the release of commons-pool2-2.0
+
+Apache Commons Object Pooling Library
+
+This is a major new release that provides significant performance improvements
+in high concurrency environments. Pools now provide a mechanism for tracking
+objects that have been borrowed from the pool but not returned. There have been
+numerous API changes to support these and other new features as well as to
+clarify behaviour and improve consistency across the API.
+
+Changes in this version include:
+
+New features:
+o POOL-211: Add support for proxy wrappers for ObjectPool and KeyedObjectPool. The
+ primary advantage of using these wrappers is that use of pooled objects
+ is prevented after they have been returned to the pool. Thanks to Brad Koehn.
+
+Fixed Bugs:
+o POOL-221: PooledObject.state does not need to be volatile
+o POOL-220: Suppress a FindBugs warning
+o POOL-215: GenericKeyedObjectPool - multiple mutable fields not published safely.
+o POOL-214: GenericObjectPool.evictionPolicy not thread-safe
+o POOL-212: GenericObjectPool allows maxIdle < minIdle
+o POOL-207: GenericKeyedObjectPool.clear() has unnecessary null check of objectDequeue
+o POOL-201: Classes Generic[Keyed]ObjectPoolConfig are generic - but why?
+o POOL-200: GOP/GKOP don't consistently use getters to access fields
+o POOL-199: GOP/GKOP evict() method is not synchronised and is not thread-safe
+o POOL-197: PooledObject: risky init of lastBorrowTime & lastReturnTime
+o POOL-196: PooledObject.getActiveTimeMillis() does not synch. access to lastReturnTime and lastBorrowTime
+o POOL-188: Remove confusing method PoolUtils.ErodingKeyedObjectPool.numIdle(K key). Thanks to sebb.
+o POOL-150: Ensure GKOP.preparePool() throws an exception if no factory has been
+ defined.
+o POOL-134: Add the ability to specify a per call wait time when borrowing an object.
+o POOL-121: Provide a name for the eviction timer thread.
+o POOL-173: Reduce duplication in configuration code.
+o POOL-178: Re-factor common code into common base classes.
+o POOL-100: Allow custom eviction policies to be defined.
+
+Changes:
+o POOL-229: Added abandoned object removal (moved from DBCP) to GenericObjectPool.
+o POOL-217: Use an IODH for PoolUtils.MIN_IDLE_TIMER Thanks to sebb.
+o POOL-216: GenericKeyedObjectPool.ensureMinIdle(K) does not need to check getMinIdlePerKey().
+o POOL-194: Replace synchronized blocks in PoolUtils with Read/Write locks.
+o POOL-83: Support Java 1.5 Generics.
+o POOL-186: Developer documentation and examples have to be updated once the 2.0 repackaging has been done
+o Switch GOP to use a pooling mechanism based on java.util.concurrent and a
+ LinkedBlockingQueue implementation from Apache Harmony (originally by Doug
+ Lea and the JSR-166 expert group).
+o Make deprecated protected attributes private, requiring that access is via
+ the appropriate getters.
+o Code clean-up. Add missing @Override annotations, remove unused code,
+ remove deprecated code and unnecessary code.
+o Introduce an Enum (WhenExhaustedAction) to control pool behaviour when no
+ more objects are available to allocate.
+o Remove WhenExhuastedAction.GROW since it is equivalent to
+ WhenExhuastedAction.FAIL with a maxActive value of Integer.MAX_VALUE.
+o POOL-155: Guard against multiple returns of the same object to the pool and ensure
+ that only objects borrowed from the pool are returned to it.
+o Remove setFactory() method from GOP.
+o POOL-172: Expose GOP and GKOP attributes via JMX.
+o POOL-98: Add additional attributes (also accessible via JMX) for monitoring.
+o Change meaning of zero for maxWait to a maximum wait of zero milliseconds
+ rather than the unexpected infinite wait.
+
+
+For complete information on Apache Commons Pool, including instructions on how
+to submit bug reports, patches, or suggestions for improvement, see the Apache
+Commons Pool website:
+
+http://commons.apache.org/proper/commons-pool/
+
+
Propchange: dev/commons/pool/RELEASE-NOTES.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: dev/commons/pool/binaries/commons-pool2-2.0-bin.tar.gz
==============================================================================
Binary file - no diff available.
Propchange: dev/commons/pool/binaries/commons-pool2-2.0-bin.tar.gz
------------------------------------------------------------------------------
svn:mime-type = application/x-gzip
Added: dev/commons/pool/binaries/commons-pool2-2.0-bin.tar.gz.asc
==============================================================================
Binary file - no diff available.
Propchange: dev/commons/pool/binaries/commons-pool2-2.0-bin.tar.gz.asc
------------------------------------------------------------------------------
svn:mime-type = application/pgp-signature
Added: dev/commons/pool/binaries/commons-pool2-2.0-bin.tar.gz.md5
==============================================================================
--- dev/commons/pool/binaries/commons-pool2-2.0-bin.tar.gz.md5 (added)
+++ dev/commons/pool/binaries/commons-pool2-2.0-bin.tar.gz.md5 Wed Oct 30 16:32:36 2013
@@ -0,0 +1 @@
+c51b9964f7cd06f3954a3aa2ddca6880
\ No newline at end of file
Added: dev/commons/pool/binaries/commons-pool2-2.0-bin.tar.gz.sha1
==============================================================================
--- dev/commons/pool/binaries/commons-pool2-2.0-bin.tar.gz.sha1 (added)
+++ dev/commons/pool/binaries/commons-pool2-2.0-bin.tar.gz.sha1 Wed Oct 30 16:32:36 2013
@@ -0,0 +1 @@
+3edf337cbf930df0aa63b202c924a807b17d5973
\ No newline at end of file
Added: dev/commons/pool/binaries/commons-pool2-2.0-bin.zip
==============================================================================
Binary file - no diff available.
Propchange: dev/commons/pool/binaries/commons-pool2-2.0-bin.zip
------------------------------------------------------------------------------
svn:mime-type = application/zip
Added: dev/commons/pool/binaries/commons-pool2-2.0-bin.zip.asc
==============================================================================
Binary file - no diff available.
Propchange: dev/commons/pool/binaries/commons-pool2-2.0-bin.zip.asc
------------------------------------------------------------------------------
svn:mime-type = application/pgp-signature
Added: dev/commons/pool/binaries/commons-pool2-2.0-bin.zip.md5
==============================================================================
--- dev/commons/pool/binaries/commons-pool2-2.0-bin.zip.md5 (added)
+++ dev/commons/pool/binaries/commons-pool2-2.0-bin.zip.md5 Wed Oct 30 16:32:36 2013
@@ -0,0 +1 @@
+44855bd3da5efadbd240feb1545e6895
\ No newline at end of file
Added: dev/commons/pool/binaries/commons-pool2-2.0-bin.zip.sha1
==============================================================================
--- dev/commons/pool/binaries/commons-pool2-2.0-bin.zip.sha1 (added)
+++ dev/commons/pool/binaries/commons-pool2-2.0-bin.zip.sha1 Wed Oct 30 16:32:36 2013
@@ -0,0 +1 @@
+7dfbf85f0ff8cded34b02dc44925f7455bfbfaaf
\ No newline at end of file
Added: dev/commons/pool/source/commons-pool2-2.0-src.tar.gz
==============================================================================
Binary file - no diff available.
Propchange: dev/commons/pool/source/commons-pool2-2.0-src.tar.gz
------------------------------------------------------------------------------
svn:mime-type = application/x-gzip
Added: dev/commons/pool/source/commons-pool2-2.0-src.tar.gz.asc
==============================================================================
Binary file - no diff available.
Propchange: dev/commons/pool/source/commons-pool2-2.0-src.tar.gz.asc
------------------------------------------------------------------------------
svn:mime-type = application/pgp-signature
Added: dev/commons/pool/source/commons-pool2-2.0-src.tar.gz.md5
==============================================================================
--- dev/commons/pool/source/commons-pool2-2.0-src.tar.gz.md5 (added)
+++ dev/commons/pool/source/commons-pool2-2.0-src.tar.gz.md5 Wed Oct 30 16:32:36 2013
@@ -0,0 +1 @@
+123232fcfbd5bdbbefd146e72033f6c7
\ No newline at end of file
Added: dev/commons/pool/source/commons-pool2-2.0-src.tar.gz.sha1
==============================================================================
--- dev/commons/pool/source/commons-pool2-2.0-src.tar.gz.sha1 (added)
+++ dev/commons/pool/source/commons-pool2-2.0-src.tar.gz.sha1 Wed Oct 30 16:32:36 2013
@@ -0,0 +1 @@
+0e8d8768b62883b38f8be1a447d6af222695db7d
\ No newline at end of file
Added: dev/commons/pool/source/commons-pool2-2.0-src.zip
==============================================================================
Binary file - no diff available.
Propchange: dev/commons/pool/source/commons-pool2-2.0-src.zip
------------------------------------------------------------------------------
svn:mime-type = application/zip
Added: dev/commons/pool/source/commons-pool2-2.0-src.zip.asc
==============================================================================
Binary file - no diff available.
Propchange: dev/commons/pool/source/commons-pool2-2.0-src.zip.asc
------------------------------------------------------------------------------
svn:mime-type = application/pgp-signature
Added: dev/commons/pool/source/commons-pool2-2.0-src.zip.md5
==============================================================================
--- dev/commons/pool/source/commons-pool2-2.0-src.zip.md5 (added)
+++ dev/commons/pool/source/commons-pool2-2.0-src.zip.md5 Wed Oct 30 16:32:36 2013
@@ -0,0 +1 @@
+1df522787f4f8f49c1c40bb7ab914e12
\ No newline at end of file
Added: dev/commons/pool/source/commons-pool2-2.0-src.zip.sha1
==============================================================================
--- dev/commons/pool/source/commons-pool2-2.0-src.zip.sha1 (added)
+++ dev/commons/pool/source/commons-pool2-2.0-src.zip.sha1 Wed Oct 30 16:32:36 2013
@@ -0,0 +1 @@
+e249daa5b9813e4a858bff5bf8c31159e11fef6b
\ No newline at end of file