|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.planeth.common.timing.AbstractStopWatch
Abstract Base StopWatch
| Constructor Summary | |
AbstractStopWatch()
Constructor for AbstractStopWatch. |
|
| Method Summary | |
static AbstractStopWatch |
createStopWatch()
Creates a supported StopWatch instance for the current java runtime |
abstract void |
fwind(long millis)
Goes a defined number of millis forward |
abstract long |
getElapsedMillis()
Returns the elapsed millis since last reset |
protected long |
getStartTime()
Returns the startTime. |
abstract void |
reset()
Resets the StopWatch (to zero) |
protected void |
setStartTime(long startTime)
Sets the startTime |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractStopWatch()
| Method Detail |
public static AbstractStopWatch createStopWatch()
public abstract void reset()
public abstract void fwind(long millis)
millis - public abstract long getElapsedMillis()
protected long getStartTime()
protected void setStartTime(long startTime)
startTime - The startTime to set.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||