commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29163] - Make StopWatch validate state transitions
Date Sun, 18 Jul 2004 04:23:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29163>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29163

Make StopWatch validate state transitions





------- Additional Comments From bayard@apache.org  2004-07-18 04:23 -------
Attempt at a crude state table.


                  STATE_UNSTARTED STATE_RUNNING STATE_SPLIT STATE_STOPPED
STATE_SUSPENDED
=================|===============|=============|===========|=============|===============
start()          |      X        |      -      |     -     |      -      |       -
stop()           |      -        |      X      |     X     |      -      |       -
reset()          |      -        |      ?      |     ?     |      X      |       -
split()          |      -        |      X      |     X     |      -      |       -
unsplit()        |      -        |      -      |     X     |      -      |       -
suspend()        |      -        |      X      |     X     |      -      |       -
resume()         |      -        |      -      |     -     |      -      |       X
getTime()        |      X        |      X      |     X     |      X      |       X
getSplitTime()   |      -        |      -      |     X     |      -      |       -

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


Mime
View raw message