Package | Description |
---|---|
com.google.common.util.concurrent |
Concurrency utilities.
|
Modifier and Type | Class and Description |
---|---|
static class |
AbstractScheduledService.CustomScheduler
A
AbstractScheduledService.Scheduler that provides a convenient way for the AbstractScheduledService to
use a dynamically changing schedule. |
Modifier and Type | Method and Description |
---|---|
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. |
Copyright © 2010-2013. All Rights Reserved.