| Constructor and Description |
|---|
NanoTimer(long delay) |
| Modifier and Type | Method and Description |
|---|---|
long |
getPassedTime() |
void |
reset()
Reset the time.
|
long |
waitUntil()
Wait until the delay has passed.
|
public void reset()
Timerpublic long getPassedTime()
getPassedTime in class Timerpublic long waitUntil()
throws java.lang.InterruptedException
TimerTimer.forcePass() has been called.