Class AbstractScheduledService.CustomScheduler
- java.lang.Object
-
- com.google.common.util.concurrent.AbstractScheduledService.Scheduler
-
- com.google.common.util.concurrent.AbstractScheduledService.CustomScheduler
-
- Enclosing class:
- AbstractScheduledService
@Beta public abstract static class AbstractScheduledService.CustomScheduler extends AbstractScheduledService.Scheduler
AAbstractScheduledService.Scheduler
that provides a convenient way for theAbstractScheduledService
to use a dynamically changing schedule. After every execution of the task, assuming it hasn't been cancelled, thegetNextSchedule()
method will be called.- Since:
- 11.0
-
-
Constructor Summary
Constructors Constructor Description CustomScheduler()
-
Method Summary
-
Methods inherited from class com.google.common.util.concurrent.AbstractScheduledService.Scheduler
newFixedDelaySchedule, newFixedRateSchedule
-
-