public class ActorScheduler extends Object implements Scheduler
Scheduler.WorkerDisposable.Composite, Disposable.Swap| Modifier and Type | Method and Description |
|---|---|
Scheduler.Worker |
createWorker() |
static Scheduler |
from(akka.actor.ActorRef actorRef) |
static Scheduler |
from(akka.actor.ActorSystem system) |
Disposable |
schedule(Runnable task) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, now, schedule, schedulePeriodically, startisDisposedpublic static Scheduler from(akka.actor.ActorSystem system)
system - an ActorSystemSchedulerpublic static Scheduler from(akka.actor.ActorRef actorRef)
actorRef - an ActorRefSchedulerpublic Disposable schedule(Runnable task)
public Scheduler.Worker createWorker()
createWorker in interface Scheduler