public class PrimaryOwnerScheduler<I,K,M> extends Object implements org.wildfly.clustering.ee.Scheduler<I,M>
| Constructor and 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) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(I id) |
void |
close() |
void |
schedule(I id,
M metaData) |
public PrimaryOwnerScheduler(CommandDispatcherFactory dispatcherFactory, String name, Scheduler<I,M> scheduler, Function<K,org.wildfly.clustering.group.Node> primaryOwnerLocator, Function<I,K> keyFactory)
Copyright © 2023 JBoss by Red Hat. All rights reserved.