K
- key type of related entriesV
- value type of related entriespublic interface EntryTaskScheduler<K,V>
Modifier and Type | Method and Description |
---|---|
ScheduledEntry<K,V> |
cancel(K key) |
void |
cancelAll() |
int |
cancelIfExists(K key,
V value) |
ScheduledEntry<K,V> |
get(K key) |
boolean |
schedule(long delayMillis,
K key,
V object)
Schedules (or reschedules) the execution of given entry.
|
boolean schedule(long delayMillis, K key, V object)
delayMillis
- milliseconds to delay the execution.key
- key of this scheduling.object
- user object to pass back when it is time to execute.ScheduledEntry<K,V> cancel(K key)
ScheduledEntry<K,V> get(K key)
void cancelAll()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.