You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/11/26 23:53:40 UTC
svn commit: r1716782 -
/tomcat/trunk/java/org/apache/coyote/AsyncStateMachine.java
Author: markt
Date: Thu Nov 26 22:53:40 2015
New Revision: 1716782
URL: http://svn.apache.org/viewvc?rev=1716782&view=rev
Log:
More diagram fixes
auto -> postProcess()
Add dispatched()
Correct transitions from MUST_DISPATCH
Add missing NO-OP transitions
Modified:
tomcat/trunk/java/org/apache/coyote/AsyncStateMachine.java
Modified: tomcat/trunk/java/org/apache/coyote/AsyncStateMachine.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/AsyncStateMachine.java?rev=1716782&r1=1716781&r2=1716782&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/AsyncStateMachine.java [UTF-8] (original)
+++ tomcat/trunk/java/org/apache/coyote/AsyncStateMachine.java [UTF-8] Thu Nov 26 22:53:40 2015
@@ -61,29 +61,32 @@ import org.apache.tomcat.util.security.P
* | | | \|/ |
* | | error()| | |
* | | | |--|timeout() | |
- * | | postProcess() | | \|/ | auto |
+ * | | postProcess() | | \|/ | postProcess() |
* | | |---------------»DISPATCHED«---------- | --------------COMPLETING«-----| |
* | | | /|\ | | | /|\ | |
* | | | |---»-------| | | |--| | |
* | | ^ | |startAsync() | timeout() | |
* | | | | | | | |
* | \|/ | | complete() \|/ postProcess() | | |
- * | MUST_COMPLETE-«- | ----«------STARTING--»--------- | ------------| ^ |
- * | /|\ /|\ | | | | complete() | |
- * | | | | | | | /-----------| |
- * | | | ^ |dispatch() | | / |
- * | | | | | | | / |
- * | | | | \|/ | \|/ / postProcess() |
- * | | | |----«----MUST_DISPATCH-----«-----| STARTED«---------«---------| |
- * | | | | auto /|\ / | | | |
- * | | | | | / | | ^ |
- * ^ | ^ | | / | |asyncOperation() | |
- * | | | ^ | / | | | |
- * | | | | | |-------------/ | |--READ_WRITE_OP--»---| |
- * | | | | | | dispatch() | | | | |
- * | | | | | | auto| | | | error()|
- * | | | | auto | \|/ | dispatch()| | |-»--------|
+ * | MUST_COMPLETE-«- | ----«------STARTING--»--------- | -------------| ^ |
+ * | /|\ /|\ | | | | complete() | |
+ * | | | | | | postProcess()| /----------| |
+ * | | | ^ |dispatch() | |-----| | / |
+ * | | | | | | | | | / |
+ * | | | | \|/ | | \|/ \|/ / postProcess() |
+ * | | | | MUST_DISPATCH-----«-----| |--«--STARTED«---------«---------| |
+ * | | | | /|\ | / | | | |
+ * | | | | | |postProcess() / | | ^ |
+ * ^ | ^ | | |dispatched() / | |asyncOperation() | |
+ * | | | ^ | | / | | | |
+ * | | | | | | |-------------/ | |»-READ_WRITE_OP--»---| |
+ * | | | | | | | dispatch() | | | | |
+ * | | | |postProcess() | | | timeout()| | | | error()|
+ * | | | |dispatched() | \|/ \|/ | dispatch()| | |-»--------|
* | | | |---«---------- | ---DISPATCHING«-----«------ | ------«----| |
+ * | | | | | ^ | |
+ * | | | | |----| | |
+ * | | | | timeout() | |
* | | | | | |
* | | | | dispatch() \|/ |
* | | | |-----------«-----------TIMING_OUT |
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org