| Constructor and Description |
|---|
TimingImpl() |
| Modifier and Type | Method and Description |
|---|---|
long |
currentTimeMillis() |
void |
sleep(int millis)
Sleeps with throwing an InterruptedException
|
void |
sleepUninterruptibly(int millis)
Sleeps without throwing an InterruptedException
|
public long currentTimeMillis()
currentTimeMillis in interface Timingpublic void sleep(int millis)
throws InterruptedException
Timingsleep in interface Timingmillis - The time to sleep in millisecondsInterruptedException - If interrputed is calledpublic void sleepUninterruptibly(int millis)
TimingsleepUninterruptibly in interface Timingmillis - The time to sleep in millisecondsCopyright © 2014. All rights reserved.