You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2011/11/06 21:46:44 UTC

svn commit: r1198552 - in /tomcat/trunk/webapps/docs/config: ajp.xml http.xml

Author: kkolinko
Date: Sun Nov  6 20:46:44 2011
New Revision: 1198552

URL: http://svn.apache.org/viewvc?rev=1198552&view=rev
Log:
Document fastShutdown attribute of AbstractEndpoint,
that was added in r1197158

Modified:
    tomcat/trunk/webapps/docs/config/ajp.xml
    tomcat/trunk/webapps/docs/config/http.xml

Modified: tomcat/trunk/webapps/docs/config/ajp.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/ajp.xml?rev=1198552&r1=1198551&r2=1198552&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/config/ajp.xml (original)
+++ tomcat/trunk/webapps/docs/config/ajp.xml Sun Nov  6 20:46:44 2011
@@ -319,6 +319,17 @@
       provide the thread pool.</p>
     </attribute>
 
+    <attribute name="fastShutdown" required="false">
+      <p>This flag can be used to speed up Tomcat shutdown in testing
+      environments where Tomcat is started and stopped many times in a row,
+      but where all connections to Tomcat are known and controlled. It can be
+      used if it is known that there are no active connections and all requests
+      have already been processed.
+      If it is set to <code>true</code>, it turns off small delay when
+      pausing Connector Endpoint. The default value is
+      <code>false</code>.</p>
+    </attribute>
+
     <attribute name="keepAliveTimeout" required="false">
       <p>The number of milliseconds this <strong>Connector</strong> will wait for
        another AJP request before closing the connection.

Modified: tomcat/trunk/webapps/docs/config/http.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/http.xml?rev=1198552&r1=1198551&r2=1198552&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/config/http.xml (original)
+++ tomcat/trunk/webapps/docs/config/http.xml Sun Nov  6 20:46:44 2011
@@ -353,6 +353,17 @@
       provide the thread pool.</p>
     </attribute>
 
+    <attribute name="fastShutdown" required="false">
+      <p>This flag can be used to speed up Tomcat shutdown in testing
+      environments where Tomcat is started and stopped many times in a row,
+      but where all connections to Tomcat are known and controlled. It can be
+      used if it is known that there are no active connections and all requests
+      have already been processed.
+      If it is set to <code>true</code>, it turns off small delay when
+      pausing Connector Endpoint. The default value is
+      <code>false</code>.</p>
+    </attribute>
+
     <attribute name="keepAliveTimeout" required="false">
       <p>The number of milliseconds this <strong>Connector</strong> will wait
       for another HTTP request before closing the connection. The default value



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