Methods in com.google.common.util.concurrent that return AbstractScheduledService.Scheduler |
static AbstractScheduledService.Scheduler |
AbstractScheduledService.Scheduler.newFixedDelaySchedule(long initialDelay,
long delay,
TimeUnit unit)
Returns a AbstractScheduledService.Scheduler that schedules the task using the
ScheduledExecutorService.scheduleWithFixedDelay(java.lang.Runnable, long, long, java.util.concurrent.TimeUnit) method. |
static AbstractScheduledService.Scheduler |
AbstractScheduledService.Scheduler.newFixedRateSchedule(long initialDelay,
long period,
TimeUnit unit)
Returns a AbstractScheduledService.Scheduler that schedules the task using the
ScheduledExecutorService.scheduleAtFixedRate(java.lang.Runnable, long, long, java.util.concurrent.TimeUnit) method. |
protected abstract AbstractScheduledService.Scheduler |
AbstractScheduledService.scheduler()
Returns the AbstractScheduledService.Scheduler object used to configure this service. |