Class PrimaryOwnerScheduler<I,K,M>
- java.lang.Object
-
- org.wildfly.clustering.ee.infinispan.scheduler.PrimaryOwnerScheduler<I,K,M>
-
- All Implemented Interfaces:
AutoCloseable,org.wildfly.clustering.ee.Scheduler<I,M>
public class PrimaryOwnerScheduler<I,K,M> extends Object implements org.wildfly.clustering.ee.Scheduler<I,M>
Scheduler decorator that schedules/cancels a given object on the primary owner.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description PrimaryOwnerScheduler(CommandDispatcherFactory dispatcherFactory, String name, Scheduler<I,M> scheduler, Function<K,org.wildfly.clustering.group.Node> primaryOwnerLocator, Function<I,K> keyFactory)PrimaryOwnerScheduler(CommandDispatcherFactory dispatcherFactory, String name, Scheduler<I,M> scheduler, Function<K,org.wildfly.clustering.group.Node> primaryOwnerLocator, Function<I,K> keyFactory, BiFunction<I,M,ScheduleCommand<I,M>> scheduleCommandFactory)
-