Interface CacheEntryScheduler<K,V>
- Type Parameters:
K- the cache key typeV- the cache value type
- All Known Implementing Classes:
CacheEntrySchedulerService
public interface CacheEntryScheduler<K,V>
A scheduler for a cache entry.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionvoidCancels the entry with the specified key.booleancontainsKey(K key) Indicates whether or not the entry with the specified cache key is scheduled.voidscheduleEntry(Map.Entry<K, V> entry) Schedules the specified cache entry.
-
Method Details
-
scheduleEntry
-
cancelKey
-
containsKey
Indicates whether or not the entry with the specified cache key is scheduled.- Parameters:
key- a cache key- Returns:
- true, if the entry with the specified cache key is scheduled, false otherwise.
-