public abstract class AbstractScheduler extends AbstractSchedulerBase
Constructor and Description |
---|
AbstractScheduler() |
Modifier and Type | Method and Description |
---|---|
abstract double |
maxFrequency()
The maximum supported task frequency of this scheduler, i.e.
|
abstract Cancellable |
schedule(scala.concurrent.duration.FiniteDuration initialDelay,
scala.concurrent.duration.FiniteDuration interval,
java.lang.Runnable runnable,
scala.concurrent.ExecutionContext executor)
Schedules a function to be run repeatedly with an initial delay and
a frequency.
|
abstract Cancellable |
scheduleOnce(scala.concurrent.duration.FiniteDuration delay,
java.lang.Runnable runnable,
scala.concurrent.ExecutionContext executor)
Schedules a Runnable to be run once with a delay, i.e.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
schedule, schedule, scheduleOnce, scheduleOnce
public abstract Cancellable schedule(scala.concurrent.duration.FiniteDuration initialDelay, scala.concurrent.duration.FiniteDuration interval, java.lang.Runnable runnable, scala.concurrent.ExecutionContext executor)
initialDelay
- (undocumented)interval
- (undocumented)runnable
- (undocumented)executor
- (undocumented)public abstract Cancellable scheduleOnce(scala.concurrent.duration.FiniteDuration delay, java.lang.Runnable runnable, scala.concurrent.ExecutionContext executor)
delay
- (undocumented)runnable
- (undocumented)executor
- (undocumented)public abstract double maxFrequency()