public interface NearCacheExecutor
Runnable
,
ScheduledFuture
Modifier and Type | Method and Description |
---|---|
ScheduledFuture<?> |
scheduleWithFixedDelay(Runnable command,
long initialDelay,
long delay,
TimeUnit unit)
Creates and executes a periodic action that becomes enabled first after the given initial delay.
|
ScheduledFuture<?> scheduleWithFixedDelay(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 initialDelay
and delay
parameters.ScheduledFuture
instance representing the pending completion of the task.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.