Class AbstractCacheEntryScheduler<I,M>
java.lang.Object
org.wildfly.clustering.server.infinispan.scheduler.AbstractCacheEntryScheduler<I,M>
- Type Parameters:
I- the identifier type of scheduled entriesM- the meta data type
- All Implemented Interfaces:
AutoCloseable,CacheEntryScheduler<I,,M> Scheduler<I,M>
- Direct Known Subclasses:
AbstractExpirationScheduler
public abstract class AbstractCacheEntryScheduler<I,M>
extends Object
implements CacheEntryScheduler<I,M>
Abstract
CacheEntryScheduler that delegates to a local scheduler.- Author:
- Paul Ferraro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCancels a previously scheduled task for the object with the specified identifier.voidCancels any previous scheduled tasks for entries which are no longer local to the current nodevoidclose()voidSchedules a task for the object with the specified identifier, using the specified metaDatastream()Returns a stream of scheduled item identifiers.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.wildfly.clustering.server.infinispan.scheduler.CacheEntryScheduler
schedule
-
Constructor Details
-
AbstractCacheEntryScheduler
-
-
Method Details
-
schedule
Description copied from interface:SchedulerSchedules a task for the object with the specified identifier, using the specified metaData -
cancel
Description copied from interface:SchedulerCancels a previously scheduled task for the object with the specified identifier. -
cancel
Description copied from interface:CacheEntrySchedulerCancels any previous scheduled tasks for entries which are no longer local to the current node- Specified by:
cancelin interfaceCacheEntryScheduler<I,M> - Parameters:
locality- the cache locality
-
stream
Description copied from interface:SchedulerReturns a stream of scheduled item identifiers. -
close
public void close() -
toString
-