ScheduledFuture<?> scheduleWithRepetition(Runnable command, long initialDelay, long delay, TimeUnit unit)
command- the task to execute.
initialDelay- the time to delay the first execution of the task.
delay- the delay between the termination of one task and the commencement of the next task.
unit- the time unit of the
ScheduledFutureinstance representing the pending completion of the task.
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.