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
Always active because it will just make a new scheduler if required
Always active because it will just make a new scheduler if required
true
, if the scheduler is active, otherwise false.
Registers a newly created actor with this scheduler.
Registers a newly created actor with this scheduler.
Registers a closure to be executed when the specified actor terminates.
Registers a closure to be executed when the specified actor terminates.
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.
Used by scala.actors.Actor instances to execute tasks of an actor execution.
(Since version 2.11.0) Use the akka.actor package instead. For migration from the scala.actors package refer to the Actors Migration Guide.