| |
|
| java.lang.Object com.torunski.crawler.util.StopWatch
StopWatch | final public class StopWatch (Code) | | A stop watch for milliseconds.
author: Lars Torunski version: $Revision: 1.3 $ |
Method Summary | |
public long | getTime() | public void | reset() Resets the stop watch to 0. | public void | start() Starts the stop watch. | public long | stop() Stops the stop watch. |
getTime | public long getTime()(Code) | | returns the stopped total time in milliseconds. |
reset | public void reset()(Code) | | Resets the stop watch to 0.
|
start | public void start()(Code) | | Starts the stop watch.
|
stop | public long stop()(Code) | | Stops the stop watch.
the millis between the last start and current stop of this watch. |
|
|
|