com.hazelcast.cache.impl.nearcache
Interface NearCacheExecutor


public interface NearCacheExecutor

Contract point for executing near-cache specific tasks.

See Also:
Runnable, ScheduledFuture

Method Summary
 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.
 

Method Detail

scheduleWithFixedDelay

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.

Parameters:
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.
Returns:
the ScheduledFuture instance representing the pending completion of the task.


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.