Example usage for Java org.apache.commons.lang.time StopWatch fields, constructors, methods, implement or subclass
The text is from its open source code.
StopWatch() Constructor. |
long | getSplitTime() Get the split time on the stopwatch. This is the time between start and latest split. |
long | getTime() Get the time on the stopwatch. This is either the time between the start and the moment this method is called, or the amount of time between start and stop. |
void | reset() Resets the stopwatch. |
void | resume() Resume the stopwatch after a suspend. This method resumes the watch after it was suspended. |
void | split() Split the time. This method sets the stop time of the watch to allow a time to be extracted. |
void | start() Start the stopwatch. This method starts a new timing session, clearing any previous values. |
void | stop() Stop the stopwatch. This method ends a new timing session, allowing the time to be retrieved. |
void | suspend() Suspend the stopwatch for later resumption. This method suspends the watch until it is resumed. |
String | toSplitString() Gets a summary of the split time that the stopwatch recorded as a string. The format used is ISO8601-like, hours:minutes:seconds.milliseconds. |
String | toString() Gets a summary of the time that the stopwatch recorded as a string. The format used is ISO8601-like, hours:minutes:seconds.milliseconds. |
void | unsplit() Remove a split. This method clears the stop time. |