|
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
public class SimpleTimeSource
Uses System.currentTimeMillis() to generate time.
| Constructor Summary | |
|---|---|
SimpleTimeSource()
|
|
| Method Summary | |
|---|---|
long |
currentTimeMillis()
Returns the System.currentTimeMillis(); |
void |
sleep(long delay)
block for this many millis |
| 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
TimeSource
sleep in interface TimeSourcedelay - the amount of time to sleep
java.lang.InterruptedException
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||