- task
- the task to schedule.
- when
- time of first execution.
- period
- amount of time in milliseconds between subsequent executions.
Type Reason Java.Lang.IllegalArgumentException if when.getTime() or period <= 0. Java.Lang.IllegalStateException if the Timer has been canceled, or if the task has been scheduled or canceled.
Schedule a task for repeated fixed-delay execution after a specific time has been reached.