Submits a Runnable
for execution.
Submits a Runnable
for execution.
the task to be executed
Submits a closure for execution.
Submits a closure for execution.
the closure 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.
Unregisters an actor from this scheduler, because it has terminated.
Unregisters an actor from this scheduler, because it has terminated.
the actor to be registered
A common interface for all schedulers used to execute actor tasks.
Subclasses of
Actor
that override itsscheduler
member must provide anIScheduler
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.