Interface CacheEntryScheduler<I,M>
- All Superinterfaces:
AutoCloseable,Scheduler<I,M>
- All Known Implementing Classes:
AbstractCacheEntryScheduler,AbstractExpirationScheduler
A task scheduler.
- Author:
- Paul Ferraro
-
Method Summary
-
Method Details
-
schedule
Schedules a cache entry with the specified identifier. This method will generally delegate toScheduler.schedule(Object, Object)after performing a cache lookup.- Parameters:
id- the identifier of the object to be scheduled
-
cancel
Cancels any previous scheduled tasks for entries which are no longer local to the current node- Parameters:
locality- the cache locality
-