Class Scheduler.ReferenceScheduler<I,M>
java.lang.Object
org.wildfly.clustering.server.scheduler.Scheduler.ReferenceScheduler<I,M>
- All Implemented Interfaces:
AutoCloseable,Scheduler<I,M>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.wildfly.clustering.server.scheduler.Scheduler
Scheduler.InactiveScheduler<I,M>, Scheduler.ReferenceScheduler<I, M> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedReferenceScheduler(Supplier<? extends Scheduler<I, M>> reference) -
Method Summary
Modifier and TypeMethodDescriptionvoidCancels a previously scheduled task for the object with the specified identifier.voidclose()booleanIndicates whether the entry with the specified identifier is scheduled.voidSchedules a task for the object with the specified identifier, using the specified metaDatastream()Returns a stream of scheduled item identifiers.
-
Constructor Details
-
ReferenceScheduler
-
-
Method Details
-
schedule
Description copied from interface:SchedulerSchedules a task for the object with the specified identifier, using the specified metaData -
cancel
Description copied from interface:SchedulerCancels a previously scheduled task for the object with the specified identifier. -
contains
Description copied from interface:SchedulerIndicates whether the entry with the specified identifier is scheduled. -
stream
Description copied from interface:SchedulerReturns a stream of scheduled item identifiers. -
close
public void close()
-