tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject svn commit: r660851 - in /tomcat/tc6.0.x/trunk: STATUS.txt java/org/apache/catalina/core/StandardThreadExecutor.java webapps/docs/changelog.xml
Date Wed, 28 May 2008 07:59:42 GMT
Author: jfclere
Date: Wed May 28 00:59:42 2008
New Revision: 660851

URL: http://svn.apache.org/viewvc?rev=660851&view=rev
Log:
Fix #44595.

Modified:
    tomcat/tc6.0.x/trunk/STATUS.txt
    tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/StandardThreadExecutor.java
    tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=660851&r1=660850&r2=660851&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Wed May 28 00:59:42 2008
@@ -39,11 +39,6 @@
   -1: remm: I believe it would need specific support for certain managers. Interested users
             could use their own extended manager instead.
 
-* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=44595
-  http://svn.apache.org/viewvc?view=rev&revision=645428
-  +1: jfclere, rjung, fhanik, remm, pero
-  -1:
-
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=45015
   You can't use an unescaped quote if you quote the value with that character
   http://svn.apache.org/viewvc?rev=657231&view=rev

Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/StandardThreadExecutor.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/StandardThreadExecutor.java?rev=660851&r1=660850&r2=660851&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/StandardThreadExecutor.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/StandardThreadExecutor.java Wed May
28 00:59:42 2008
@@ -193,6 +193,10 @@
         return (executor != null) ? executor.getPoolSize() : 0;
     }
 
+    public int getQueueSize() {
+        return (executor != null) ? executor.getQueue().size() : -1;
+    }
+
     // ---------------------------------------------- TaskQueue Inner Class
     class TaskQueue extends LinkedBlockingQueue<Runnable> {
         ThreadPoolExecutor parent = null;
@@ -254,4 +258,4 @@
     }
 
 
-}
\ No newline at end of file
+}

Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?rev=660851&r1=660850&r2=660851&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Wed May 28 00:59:42 2008
@@ -35,6 +35,9 @@
 <section name="Tomcat 6.0.17 (remm)">
   <subsection name="Catalina">
     <changelog>
+      <fix><bug>44595</bug>
+        Add possibility to request the QueueSize of an executor via JMX. (jfclere)
+      </fix>
       <update>expose alwaysSend flag for message dispatch interceptor</update>
 
       <fix><bug>44833</bug>
         correctly override StandardSession methods from DeltaSession



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message