|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.environment.time.simple.SimpleTimeSource
Uses System.currentTimeMillis() to generate time.
Constructor Summary | |
SimpleTimeSource()
|
Method Summary | |
long |
currentTimeMillis()
Returns the System.currentTimeMillis(); |
void |
sleep(long delay)
DESCRIBE THE METHOD |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleTimeSource()
Method Detail |
public long currentTimeMillis()
currentTimeMillis
in interface TimeSource
public void sleep(long delay) throws java.lang.InterruptedException
sleep
in interface TimeSource
delay
- DESCRIBE THE PARAMETER
java.lang.InterruptedException
- DESCRIBE THE EXCEPTION
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |