|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeTriggerInterface
TimeTriggerInterface should be implemented by any class whose instances should provide a periodic "Tick" on watchers.
Method Summary | |
---|---|
void |
await()
Causes the calling task to be suspended until the period is finished. |
int |
getPeriod()
Returns the current period. |
void |
setPeriod(int period)
Sets the period in milliseconds. |
void |
stopExecution()
Stops the execution of the thread. |
Method Detail |
---|
void await() throws AwaitDuringSignalingException
AwaitDuringSignalingException
void setPeriod(int period)
period
- - The period in milliseconds.int getPeriod()
void stopExecution()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |