Submits a Runnable
for execution.
Submits a Runnable
for execution.
the task to be executed
When the scheduler is active, it can execute tasks.
When the scheduler is active, it can execute tasks.
true
, if the scheduler is active, otherwise false.
Registers a newly created actor with this scheduler.
Registers a newly created actor with this scheduler.
the actor to be registered
Registers a closure to be executed when the specified actor terminates.
Registers a closure to be executed when the specified actor terminates.
the actor
the closure to be registered
Shuts down the scheduler.
Shuts down the scheduler.
Unregisters an actor from this scheduler, because it has terminated.
Unregisters an actor from this scheduler, because it has terminated.
the actor to be unregistered
Adapts the behavior of the standard scala.actors.Scheduler object.
Providing an implementation for the
execute(f: => Unit)
method is sufficient to obtain a concreteIScheduler
implementation.(Since version 2.11.0) Use the akka.actor package instead. For migration from the scala.actors package refer to the Actors Migration Guide.