
public class CountedTimerTaskUtils extends Object
CountedTimerTask instances.| Constructor and Description |
|---|
CountedTimerTaskUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
reschedule(Timer timer,
CountedTimerTask oldTask,
CountedTimerTask newTask,
int oldInterval,
int newInterval)
Reschedule a CountedTimeTask at a different interval.
|
public static void reschedule(Timer timer, CountedTimerTask oldTask, CountedTimerTask newTask, int oldInterval, int newInterval)
timer - the Timer for the taskoldTask - the old TasknewTask - the new TaskoldInterval - the old interval; use for debugging output
purposes only.newInterval - scheduling interval in millisecondsCopyright © 2017–2018 earcam. All rights reserved.