|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.environment.time.simulated.DirectTimeSource
public class DirectTimeSource
DESCRIBE THE CLASS
| Constructor Summary | |
|---|---|
DirectTimeSource(long time)
Constructor for DirectTimeSource. |
|
DirectTimeSource(long time,
java.lang.String instance)
Constructor for DirectTimeSource. |
|
DirectTimeSource(Parameters p)
Constructor for DirectTimeSource. |
|
| Method Summary | |
|---|---|
long |
currentTimeMillis()
DESCRIBE THE METHOD |
void |
incrementTime(int millis)
Should be synchronized on the selectorManager |
void |
setLogManager(LogManager manager)
Sets the LogManager attribute of the DirectTimeSource object |
void |
setSelectorManager(SelectorManager sm)
Sets the SelectorManager attribute of the DirectTimeSource object |
void |
setTime(long newTime)
Should be synchronized on the selectorManager |
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 DirectTimeSource(long time)
time - DESCRIBE THE PARAMETER
public DirectTimeSource(long time,
java.lang.String instance)
time - DESCRIBE THE PARAMETERinstance - DESCRIBE THE PARAMETERpublic DirectTimeSource(Parameters p)
p - DESCRIBE THE PARAMETER| Method Detail |
|---|
public void setLogManager(LogManager manager)
manager - The new LogManager valuepublic void setSelectorManager(SelectorManager sm)
sm - The new SelectorManager valuepublic void setTime(long newTime)
newTime - public long currentTimeMillis()
currentTimeMillis in interface TimeSourcepublic void incrementTime(int millis)
millis - DESCRIBE THE PARAMETER
public void sleep(long delay)
throws java.lang.InterruptedException
sleep in interface TimeSourcedelay - 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 | |||||||||