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> org.wildfly.clustering.server.scheduler.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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.server.scheduler.Scheduler
map
-
Constructor Details
-
PrimaryOwnerScheduler
-
-
Method Details
-
schedule
Description copied from interface:SchedulerSchedules an entry for the specified identifier. -
schedule
-
cancel
-
contains
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.wildfly.clustering.server.scheduler.Scheduler<I,M>
-