commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1333155 - in /commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2: PoolUtils.java impl/BaseGenericObjectPool.java impl/GenericKeyedObjectPool.java impl/GenericObjectPool.java impl/InterruptibleReentrantLock.java
Date Wed, 02 May 2012 18:57:57 GMT
Author: sebb
Date: Wed May  2 18:57:57 2012
New Revision: 1333155

URL: http://svn.apache.org/viewvc?rev=1333155&view=rev
Log:
Javadoc

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

Modified: commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/PoolUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/PoolUtils.java?rev=1333155&r1=1333154&r2=1333155&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/PoolUtils.java (original)
+++ commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/PoolUtils.java Wed May
 2 18:57:57 2012
@@ -36,6 +36,8 @@ import java.util.concurrent.locks.Reentr
  * @author Sandy McArthur
  * @version $Revision$ $Date$
  * @since Pool 1.3
+ * 
+ * This class is intended to be thread-safe.
  */
 public final class PoolUtils {
 
@@ -43,7 +45,7 @@ public final class PoolUtils {
      * Timer used to periodically check pools idle object count.
      * Because a {@link Timer} creates a {@link Thread} this is lazily instantiated.
      */
-    private static Timer MIN_IDLE_TIMER; //@GuardedBy("this")
+    private static Timer MIN_IDLE_TIMER; //@GuardedBy("PoolUtils.class")
 
     /**
      * PoolUtils instances should NOT be constructed in standard programming.

Modified: commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/BaseGenericObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/BaseGenericObjectPool.java?rev=1333155&r1=1333154&r2=1333155&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/BaseGenericObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/BaseGenericObjectPool.java
Wed May  2 18:57:57 2012
@@ -50,6 +50,8 @@ import javax.management.ObjectName;
  * reduce code duplication between the two pool implementations.
  *
  * @param <T> Type of element pooled in this pool.
+ * 
+ * This class is intended to be thread-safe.
  */
 public abstract class BaseGenericObjectPool<T> implements NotificationEmitter {
 

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=1333155&r1=1333154&r2=1333155&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 May  2 18:57:57 2012
@@ -69,6 +69,7 @@ import org.apache.commons.pool2.PoolUtil
  * @author Dirk Verbeeck
  * @author Sandy McArthur
  * @version $Revision$ $Date$
+ * This class is intended to be thread-safe.
  */
 public class GenericKeyedObjectPool<K,T> extends BaseGenericObjectPool<T>
         implements KeyedObjectPool<K,T>, GenericKeyedObjectPoolMBean<K> {

Modified: commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java?rev=1333155&r1=1333154&r2=1333155&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java
Wed May  2 18:57:57 2012
@@ -147,6 +147,7 @@ import org.apache.commons.pool2.Poolable
  * @version $Revision$ $Date: 2011-05-11 13:50:33 +0100 (Wed, 11 May
  *          2011) $
  * @since Pool 1.0
+ * This class is intended to be thread-safe.
  */
 public class GenericObjectPool<T> extends BaseGenericObjectPool<T>
         implements ObjectPool<T>, GenericObjectPoolMBean {

Modified: commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/InterruptibleReentrantLock.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/InterruptibleReentrantLock.java?rev=1333155&r1=1333154&r2=1333155&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/InterruptibleReentrantLock.java
(original)
+++ commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/InterruptibleReentrantLock.java
Wed May  2 18:57:57 2012
@@ -20,6 +20,9 @@ import java.util.Collection;
 import java.util.concurrent.locks.Condition;
 import java.util.concurrent.locks.ReentrantLock;
 
+/**
+ * This class is intended to be thread-safe.
+ */
 public class InterruptibleReentrantLock extends ReentrantLock {
 
     private static final long serialVersionUID = 1L;



Mime
View raw message