Class PrimaryOwnerScheduler<I,M>
java.lang.Object
org.wildfly.clustering.server.infinispan.scheduler.PrimaryOwnerScheduler<I,M>
- Type Parameters:
I- the scheduled entry identifier typeM- the scheduled entry metadata type
- All Implemented Interfaces:
AutoCloseable,Scheduler<I,,M> Scheduler<I,M>
Scheduler decorator that schedules/cancels a given object on the primary owner.
- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.wildfly.clustering.server.infinispan.scheduler.Scheduler
Scheduler.InactiveScheduler<I,M>, Scheduler.ReferenceScheduler<I, M> -
Constructor Summary
ConstructorsConstructorDescriptionPrimaryOwnerScheduler(PrimaryOwnerSchedulerConfiguration<I, M> configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoidCancels a previously scheduled task for the object with the specified identifier.voidclose()booleanIndicates whether the entry with the specified identifier is scheduled.voidSchedules an entry for the specified identifier.voidSchedules a task for the object with the specified identifier, using the specified metaData
-
Constructor Details
-
PrimaryOwnerScheduler
-
-
Method Details