public interface Scheduler<I,M> extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(I id)
Cancels a previously scheduled task for the object with the specified identifier.
|
void |
close()
Closes any resources used by this scheduler.
|
void |
schedule(I id,
M metaData)
Schedules a task for the object with the specified identifier, using the specified metaData
|
void schedule(I id, M metaData)
id - an object identifiermetaData - the object meta-datavoid cancel(I id)
id - an object identifiervoid close()
close in interface AutoCloseableCopyright © 2022 JBoss by Red Hat. All rights reserved.