public interface QueryCacheScheduler
AccumulatorProcessor
.Modifier and Type | Method and Description |
---|---|
void |
execute(Runnable task)
Executes a task.
|
ScheduledFuture<?> |
scheduleWithRepetition(Runnable task,
long delaySeconds)
Executes a task periodically with the supplied
delaySeconds . |
void |
shutdown()
Shuts down this scheduler.
|
void execute(Runnable task)
task
- task to execute.RejectedExecutionException
- if this task cannot be accepted for execution.ScheduledFuture<?> scheduleWithRepetition(Runnable task, long delaySeconds)
delaySeconds
.task
- task to execute.delaySeconds
- the time between subsequent executionRejectedExecutionException
- if the task cannot be scheduled for executionvoid shutdown()
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.