Author: fhanik
Date: Tue Jun 23 15:20:59 2009
New Revision: 787704
URL: http://svn.apache.org/viewvc?rev=787704&view=rev
Log:
Add JMX descriptions
Modified:
tomcat/tc6.0.x/trunk/STATUS.txt
tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/mbeans-descriptors.xml
Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL:
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=787704&r1=787703&r2=787704&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Tue Jun 23 15:20:59 2009
@@ -150,15 +150,6 @@
-1:
-* Add Executor JMX stats
- http://svn.apache.org/viewvc?rev=783474&view=rev
- +1: fhanik, markt
- +1: kkolinko (
- in activeCount description: s/current/currently/
- in completedTaskCount desc.: s/Nr/Number/ or /Count/. Was there a reason
for shortening?
- )
- -1:
-
* Dont try to report thread counts when using an executor from outside
http://people.apache.org/~fhanik/connector-thread-report.patch
+1: fhanik
Modified:
tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/mbeans-descriptors.xml
URL:
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/mbeans-descriptors.xml?rev=787704&r1=787703&r2=787704&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/mbeans-descriptors.xml
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/mbeans-descriptors.xml
Tue Jun 23 15:20:59 2009
@@ -617,6 +617,65 @@
<operation name="start" description="Start" impact="ACTION"
returnType="void" />
<operation name="stop" description="Stop" impact="ACTION"
returnType="void" />
</mbean>
+
+ <mbean name="StandardThreadExecutor"
+ description="Standard implementation of a thread pool"
+ domain="Catalina"
+ group="Executor"
+ type="org.apache.catalina.core.StandardThreadExecutor">
+
+ <attribute name="threadPriority"
+ description="The thread priority for threads in this thread
pool"
+ type="int"/>
+
+ <attribute name="name"
+ description="Unique name of this Executor"
+ type="java.lang.String"/>
+
+ <attribute name="namePrefix"
+ description="Name prefix for thread names created by this
executor"
+ type="java.lang.String"/>
+
+ <attribute name="maxThreads"
+ description="Maximum number of allocated threads"
+ type="int"/>
+
+ <attribute name="minSpareThreads"
+ description="Minimum number of allocated threads"
+ type="int"/>
+
+ <attribute name="maxIdleTime"
+ description="Max number of milliseconds a thread can be idle
before it can be shutdown"
+ type="int"/>
+
+ <attribute name="maxQueueSize"
+ description="Maximum number of tasks for the pending task queue"
+ type="int"/>
+
+ <attribute name="activeCount"
+ description="Number of threads currently processing a task"
+ type="int"/>
+
+ <attribute name="completedTaskCount"
+ description="Number of tasks completed by the executor"
+ type="int"/>
+
+ <attribute name="corePoolSize"
+ description="Core size of the thread pool"
+ type="int"/>
+
+ <attribute name="largestPoolSize"
+ description="Peak number of threads"
+ type="int"/>
+
+ <attribute name="poolSize"
+ description="Number of threads in the pool"
+ type="int"/>
+
+ <attribute name="queueSize"
+ description="Number of tasks waiting to be processed"
+ type="int"/>
+ </mbean>
<mbean name="StandardWrapper"
description="Wrapper that represents an individual servlet definition"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]