Package jadex.collection
Interface IDelayRunner
- All Known Implementing Classes:
TimerDelayRunner
public interface IDelayRunner
Interface for scheduling a command.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
Cancel the timer.waitForDelay
(long delay, Runnable step) Wait for a delay.
-
Method Details
-
waitForDelay
Wait for a delay.- Parameters:
delay
- The delay.step
- The step.
-
cancel
void cancel()Cancel the timer.
-