public class PrimaryOwnerScheduler extends Object implements Scheduler
Scheduler decorator that executes schedule and cancellation commands on the primary owner of a given session.| Constructor and Description |
|---|
PrimaryOwnerScheduler(CommandDispatcherFactory dispatcherFactory,
String name,
Scheduler scheduler,
Function<Key<String>,Node> primaryOwnerLocator) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(String sessionId) |
void |
close() |
void |
schedule(String sessionId,
org.wildfly.clustering.web.session.ImmutableSessionMetaData metaData) |
public void schedule(String sessionId, org.wildfly.clustering.web.session.ImmutableSessionMetaData metaData)
public void close()
close in interface AutoCloseableclose in interface SchedulerCopyright © 2019 JBoss by Red Hat. All rights reserved.