[jboss-cvs] JBossAS SVN: r99243 - projects/jboss-threads/trunk/jbossmc/src/main/resources/schema.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jan 11 15:03:37 EST 2010


Author: david.lloyd at jboss.com
Date: 2010-01-11 15:03:37 -0500 (Mon, 11 Jan 2010)
New Revision: 99243

Modified:
   projects/jboss-threads/trunk/jbossmc/src/main/resources/schema/jboss-threads_2_0.xsd
Log:
Minor fixes

Modified: projects/jboss-threads/trunk/jbossmc/src/main/resources/schema/jboss-threads_2_0.xsd
===================================================================
--- projects/jboss-threads/trunk/jbossmc/src/main/resources/schema/jboss-threads_2_0.xsd	2010-01-11 20:01:00 UTC (rev 99242)
+++ projects/jboss-threads/trunk/jbossmc/src/main/resources/schema/jboss-threads_2_0.xsd	2010-01-11 20:03:37 UTC (rev 99243)
@@ -208,9 +208,9 @@
             </xsd:documentation>
         </xsd:annotation>
         <xsd:all>
-            <xsd:element name="core-thread-count" type="scaled-count" minOccurs="1"/>
+            <xsd:element name="core-thread-count" type="scaled-count"/>
+            <xsd:element name="queue-length" type="scaled-count"/>
             <xsd:element name="max-thread-count" type="scaled-count" minOccurs="0"/>
-            <xsd:element name="queue-length" type="scaled-count" minOccurs="1"/>
             <xsd:element name="keepalive-time" type="time" minOccurs="0"/>
             <xsd:element name="task-filter" type="task-filter" minOccurs="0"/>
             <xsd:element name="thread-factory" type="ref" minOccurs="0"/>
@@ -229,14 +229,20 @@
                 blocks until another thread completes its task and accepts the new one.  Otherwise, the task is handed
                 off to the designated handoff executor, if one is specified.  Otherwise, the task is rejected.
 
-                A queueless thread pool executor.  The "name" attribute is the bean name of the created executor.  The
-                "thread-factory" attribute specifies the bean name of the thread factory to use to create worker
-                threads.  The nested "keepalive-time" is used to specify the amount of time that threads should
-                be kept running when idle.
+                The "name" attribute is the bean name of the created executor.  The "blocking" attribute specifies
+                whether the submitter thread will block if no space is available in this executor.
+
+                The "core-thread-count" element specifies the number of threads to use for this executor before
+                tasks cannot be accepted anymore.  The optional "keepalive-time" is used to specify the amount of time
+                that threads should be kept running when idle; by default threads run indefinitely.  The optional
+                "task-filter" element may be used to specify a filter for each executed task.  The optional
+                "thread-factory" element specifies the bean name of a specific thread factory to use to create worker
+                threads.  The optional "handoff-executor" element specifies an executor to delegate tasks to in the
+                event that a task cannot be accepted.
             </xsd:documentation>
         </xsd:annotation>
         <xsd:all>
-            <xsd:element name="max-thread-count" type="scaled-count"/>
+            <xsd:element name="core-thread-count" type="scaled-count"/>
             <xsd:element name="keepalive-time" type="time" minOccurs="0"/>
             <xsd:element name="task-filter" type="task-filter" minOccurs="0"/>
             <xsd:element name="thread-factory" type="ref" minOccurs="0"/>




More information about the jboss-cvs-commits mailing list