CountedTimerTask instances.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | reschedule(Timer
the Timer for the task timer, CountedTimerTask the old Task oldTask, CountedTimerTask the new Task newTask, int the old interval; use for debugging output
purposes only. oldInterval, int scheduling interval in milliseconds newInterval)Reschedule a CountedTimeTask at a different interval. |
| CountedTimerTaskUtils | back to summary |
|---|---|
| public CountedTimerTaskUtils() | |
| reschedule | back to summary |
|---|---|
| public static void reschedule(Timer timer, CountedTimerTask oldTask, CountedTimerTask newTask, int oldInterval, int newInterval) Reschedule a CountedTimeTask at a different interval. Probably not named correctly. This method cancels the old task and computes the delay for starting the new task based on the new interval and the time at which the old task was last executed.
| |