|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Timing
The timing class for TomP2P. This class was introduced since SimGrid uses different timings. While the normal operation uses System.currentTimeMillis and Thread.sleep, the SimGrid integration uses other implementations.
Method Summary | |
---|---|
long |
currentTimeMillis()
|
void |
sleep(int millis)
Sleeps with throwing an InterruptedException |
void |
sleepUninterruptibly(int millis)
Sleeps without throwing an InterruptedException |
Method Detail |
---|
long currentTimeMillis()
void sleep(int millis) throws InterruptedException
millis
- The time to sleep in milliseconds
InterruptedException
- If interrputed is calledvoid sleepUninterruptibly(int millis)
millis
- The time to sleep in milliseconds
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |