You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2003/12/31 14:38:15 UTC
cvs commit: jakarta-commons/pool/xdocs/guide index.xml
dirkv 2003/12/31 05:38:15
Modified: pool/xdocs/guide index.xml
Log:
Some information about the different pool implementations
Revision Changes Path
1.2 +36 -0 jakarta-commons/pool/xdocs/guide/index.xml
Index: index.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/pool/xdocs/guide/index.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- index.xml 14 Sep 2003 20:18:43 -0000 1.1
+++ index.xml 31 Dec 2003 13:38:15 -0000 1.2
@@ -11,10 +11,46 @@
<section name="ObjectPool">
<center><img src="../images/uml/ObjectPool.gif"/></center>
+<br/>
+<p>
+<a href="../apidocs/org/apache/commons/pool/ObjectPool.html">ObjectPool</a> defines a simple pooling interface.
+<ul>
+ <li>
+ <a href="../apidocs/org/apache/commons/pool/impl/GenericObjectPool.html">GenericObjectPool</a>:
+ ObjectPool implementation with a FIFO (First In First Out) behavior. This queue like behavior
+ makes sure each object is regularly used. (helps preventing time-outs)
+ </li>
+ <li>
+ <a href="../apidocs/org/apache/commons/pool/impl/StackObjectPool.html">StackObjectPool</a>:
+ ObjectPool implementation with a LIFO (Last In First Out) behavior.
+ </li>
+ <li>
+ <a href="../apidocs/org/apache/commons/pool/impl/SoftReferenceObjectPool.html">SoftReferenceObjectPool</a>:
+ ObjectPool implementation with a LIFO (Last In First Out) behavior. Additionally this pool wraps
+ each object in a SoftReference allowing the garbage collector to remove them in response to
+ memory demand.
+ </li>
+</ul>
+</p>
</section>
<section name="KeyedObjectPool">
<center><img src="../images/uml/KeyedObjectPool.gif"/></center>
+<br/>
+<p>
+A <a href="../apidocs/org/apache/commons/pool/KeyedObjectPool.html">KeyedObjectPool</a>
+pools instances of multiple types. Each type may be accessed using an arbitrary key.
+<ul>
+ <li>
+ <a href="../apidocs/org/apache/commons/pool/impl/GenericKeyedObjectPool.html">GenericKeyedObjectPool</a>:
+ ObjectPool implementation with a FIFO (First In First Out) behavior.
+ </li>
+ <li>
+ <a href="../apidocs/org/apache/commons/pool/impl/StackKeyedObjectPool.html">StackKeyedObjectPool</a>:
+ ObjectPool implementation with a LIFO (Last In First Out) behavior.
+ </li>
+</ul>
+</p>
</section>
</body>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org