You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by tr...@apache.org on 2008/05/22 04:19:01 UTC

svn commit: r658980 - /mina/branches/buffer/core/src/main/java/org/apache/mina/queue/IoQueue.java

Author: trustin
Date: Wed May 21 19:19:00 2008
New Revision: 658980

URL: http://svn.apache.org/viewvc?rev=658980&view=rev
Log:
A little bit more explanation on IoQueueListener

Modified:
    mina/branches/buffer/core/src/main/java/org/apache/mina/queue/IoQueue.java

Modified: mina/branches/buffer/core/src/main/java/org/apache/mina/queue/IoQueue.java
URL: http://svn.apache.org/viewvc/mina/branches/buffer/core/src/main/java/org/apache/mina/queue/IoQueue.java?rev=658980&r1=658979&r2=658980&view=diff
==============================================================================
--- mina/branches/buffer/core/src/main/java/org/apache/mina/queue/IoQueue.java (original)
+++ mina/branches/buffer/core/src/main/java/org/apache/mina/queue/IoQueue.java Wed May 21 19:19:00 2008
@@ -28,7 +28,13 @@
  * provides a way to listen to the state of the queue, {@link IoQueueListener}.
  * This is often useful when you want to veto adding an element or to monitor
  * the insertion and removal of an element, which allows a user to enforce
- * various constraints to the queue dynamically in run time.
+ * various constraints to the queue dynamically in run time.  The following is
+ * the list of possible use cases:
+ * <ul>
+ * <li>implementation of dynamic or static bound queue</li>
+ * <li>throughput calculation</li>
+ * <li>logging, ...</li>
+ * </ul>
  *
  * @param <E> the type of the queue's elements
  *