- command
- the task to execute
- initialDelay
- the time to delay first execution
- delay
- the delay between the termination of one execution and the commencement of the next
- unit
- the time unit of the initialDelay and delay parameters
Documentation for this section has not yet been entered.
Type Reason Java.Util.Concurrent.RejectedExecutionException Java.Lang.NullPointerException Java.Lang.IllegalArgumentException
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given delay between the termination of one execution and the commencement of the next. If any execution of the task encounters an exception, subsequent executions are suppressed. Otherwise, the task will only terminate via cancellation or termination of the executor.