[mule-scm] [mule][25292] branches/mule-3.x/core/src/main/java/org/mule/util/queue/ QueueConfiguration.java: Make the queue capacity available through getter

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[mule-scm] [mule][25292] branches/mule-3.x/core/src/main/java/org/mule/util/queue/ QueueConfiguration.java: Make the queue capacity available through getter

pablo.lagreca
[mule][25292] branches/mule-3.x/core/src/main/java/org/mule/util/queue/QueueConfiguration.java: Make the queue capacity available through getter
Revision
25292
Author
pablo.lagreca
Date
2013-02-19 12:25:17 -0600 (Tue, 19 Feb 2013)

Log Message

Make the queue capacity available through getter

Modified Paths

Diff

Modified: branches/mule-3.x/core/src/main/java/org/mule/util/queue/QueueConfiguration.java (25291 => 25292)


--- branches/mule-3.x/core/src/main/java/org/mule/util/queue/QueueConfiguration.java	2013-02-19 14:33:10 UTC (rev 25291)
+++ branches/mule-3.x/core/src/main/java/org/mule/util/queue/QueueConfiguration.java	2013-02-19 18:25:17 UTC (rev 25292)
@@ -17,6 +17,7 @@
 
 public class QueueConfiguration
 {
+    public final static int INFINITY_CAPACTY = 0;
     protected final int capacity;
     protected final QueueStore<Serializable> objectStore;
 
@@ -73,4 +74,9 @@
     {
         return objectStore.isPersistent();
     }
+
+    public int getCapacity()
+    {
+        return capacity;
+    }
 }

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Loading...