|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RepeatedCommand
The RepeatedCommand is used to represent a command that operates at a specified interval over time. It gives the affect of being a long running process without tying up a thread waiting for the next time to run the command.
Method Summary | |
---|---|
int |
getNumberOfRepeats()
If the value is less than 1 (0 or negative), the command repeats for as long as the DefaultCommandManager is running. |
long |
getRepeatInterval()
Gets the repeat interval so that the CommandQueue keeps it for the specified amount of time before enqueuing it again. |
Methods inherited from interface org.d_haven.event.command.DelayedCommand |
---|
getDelayInterval |
Methods inherited from interface org.d_haven.event.command.Command |
---|
execute |
Method Detail |
---|
int getNumberOfRepeats()
long getRepeatInterval()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |