commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1334287 - in /commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl: DefaultEvictionPolicy.java EvictionPolicy.java InterruptibleReentrantLock.java
Date Sat, 05 May 2012 01:07:27 GMT
Author: sebb
Date: Sat May  5 01:07:27 2012
New Revision: 1334287

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

Modified:
    commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/DefaultEvictionPolicy.java
    commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/EvictionPolicy.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/impl/DefaultEvictionPolicy.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/DefaultEvictionPolicy.java?rev=1334287&r1=1334286&r2=1334287&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/DefaultEvictionPolicy.java
(original)
+++ commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/DefaultEvictionPolicy.java
Sat May  5 01:07:27 2012
@@ -31,6 +31,8 @@ package org.apache.commons.pool2.impl;
  * </ul>
  * This class is immutable and thread-safe.
  *
+ * @param <T> the type of objects in the pool
+ *
  * @version $Revision: $
  *
  * @since 2.0

Modified: commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/EvictionPolicy.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/EvictionPolicy.java?rev=1334287&r1=1334286&r2=1334287&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/EvictionPolicy.java
(original)
+++ commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/EvictionPolicy.java
Sat May  5 01:07:27 2012
@@ -21,6 +21,8 @@ package org.apache.commons.pool2.impl;
  * DefaultEvictionPolicy} for a pool, users must provide an implementation of
  * this interface that provides the required eviction policy.
  *
+ * @param <T> the type of objects in the pool
+ *  
  * @version $Revision: $
  *
  * @since 2.0

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=1334287&r1=1334286&r2=1334287&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
Sat May  5 01:07:27 2012
@@ -31,6 +31,11 @@ class InterruptibleReentrantLock extends
 
     private static final long serialVersionUID = 1L;
 
+    /**
+     * Interrupt the threads that are waiting on a specific condition
+     * 
+     * @param condition the condition on which the threads are waiting.
+     */
     public void interruptWaiters(Condition condition) {
         Collection<Thread> threads = getWaitingThreads(condition);
         for (Thread thread : threads) {



Mime
View raw message