Class LocalScheduler<T>
java.lang.Object
org.wildfly.clustering.ee.cache.scheduler.LocalScheduler<T>
- All Implemented Interfaces:
AutoCloseable,Runnable,Scheduler<T,Instant>
Scheduler that uses a single scheduled task in concert with an
ScheduledEntries.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionLocalScheduler(ScheduledEntries<T, Instant> entries, Predicate<T> task, Duration closeTimeout) -
Method Summary
-
Constructor Details
-
LocalScheduler
-
-
Method Details
-
schedule
-
cancel
-
contains
-
stream
-
close
public void close() -
run
public void run() -
toString
-