Uses of Class
com.google.common.util.concurrent.AbstractScheduledService.Scheduler
-
Uses of AbstractScheduledService.Scheduler in com.google.common.util.concurrent
Modifier and TypeClassDescriptionstatic class
AAbstractScheduledService.Scheduler
that provides a convenient way for theAbstractScheduledService
to use a dynamically changing schedule.Modifier and TypeMethodDescriptionAbstractScheduledService.Scheduler.newFixedDelaySchedule
(long initialDelay, long delay, TimeUnit unit) Returns aAbstractScheduledService.Scheduler
that schedules the task using theScheduledExecutorService.scheduleWithFixedDelay(java.lang.Runnable, long, long, java.util.concurrent.TimeUnit)
method.AbstractScheduledService.Scheduler.newFixedDelaySchedule
(Duration initialDelay, Duration delay) Returns aAbstractScheduledService.Scheduler
that schedules the task using theScheduledExecutorService.scheduleWithFixedDelay(java.lang.Runnable, long, long, java.util.concurrent.TimeUnit)
method.AbstractScheduledService.Scheduler.newFixedRateSchedule
(long initialDelay, long period, TimeUnit unit) Returns aAbstractScheduledService.Scheduler
that schedules the task using theScheduledExecutorService.scheduleAtFixedRate(java.lang.Runnable, long, long, java.util.concurrent.TimeUnit)
method.AbstractScheduledService.Scheduler.newFixedRateSchedule
(Duration initialDelay, Duration period) Returns aAbstractScheduledService.Scheduler
that schedules the task using theScheduledExecutorService.scheduleAtFixedRate(java.lang.Runnable, long, long, java.util.concurrent.TimeUnit)
method.protected abstract AbstractScheduledService.Scheduler
AbstractScheduledService.scheduler()
Returns theAbstractScheduledService.Scheduler
object used to configure this service.