You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by bl...@apache.org on 2001/04/02 19:10:05 UTC
cvs commit: xml-cocoon/src/org/apache/cocoon/components ComponentPool.java
bloritsch 01/04/02 10:10:05
Modified: src/org/apache/cocoon/components Tag: xml-cocoon2
ComponentPool.java
Log:
Remove references to waiting--the pool does not wait.
Revision Changes Path
No revision
No revision
1.1.2.5 +3 -3 xml-cocoon/src/org/apache/cocoon/components/Attic/ComponentPool.java
Index: ComponentPool.java
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/components/Attic/ComponentPool.java,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -r1.1.2.4 -r1.1.2.5
--- ComponentPool.java 2001/03/27 14:30:02 1.1.2.4
+++ ComponentPool.java 2001/04/02 17:10:02 1.1.2.5
@@ -119,11 +119,11 @@
/**
* Allocates a resource when the pool is empty. By default, this method
- * returns null, indicating that the requesting thread must wait. This
+ * returns null, indicating that the requesting. This
* allows a thread pool to expand when necessary, allowing for spikes in
* activity.
*
- * @return A new resource, or null to force the requester to wait
+ * @return A new resource
*/
protected Poolable getOverflowResource() throws Exception {
Poolable poolable = (Poolable) this.factory.newInstance();
@@ -134,7 +134,7 @@
return poolable;
}
- /** Requests a resource from the pool, waiting forever if one is not available.
+ /** Requests a resource from the pool.
* No extra information is associated with the allocated resource.
* @return The allocated resource
*/
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org