|Modifier and Type||Method and Description|
Schedule a command to run once after the given delay.
Schedule a command to run with a fixed delay.
void schedule(Runnable command, long delayMillis)
delayMillis- Delay in milliseconds
void scheduleWithFixedDelay(Runnable command, long initialDelayMillis, long delayMillis)
initialDelayMillis- Initial delay before the command is first run, in milliseconds
delayMillis- delay between successive runs, in milliseconds
Copyright © 2013- Suresh Mahalingam. All Rights Reserved.