public interface Scheduler extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(String sessionId)
Cancels a previously scheduled task for the specified session
|
void |
close()
Closes any resources used by this scheduler.
|
void |
schedule(String sessionId,
org.wildfly.clustering.web.session.ImmutableSessionMetaData metaData)
Schedules a task for the specified session.
|
void schedule(String sessionId, org.wildfly.clustering.web.session.ImmutableSessionMetaData metaData)
session - a web session.void cancel(String sessionId)
sessionId - the web session identifiervoid close()
close in interface AutoCloseableCopyright © 2019 JBoss by Red Hat. All rights reserved.