Submits a closure for execution.
Submits a closure for execution.
the closure to be executed
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.
The maximum number of nested tasks that are run without unwinding the call stack.
The maximum number of nested tasks that are run without unwinding the call stack.
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.
This scheduler executes actor tasks on the current thread.
(Since version 2.11.0) Use the akka.actor package instead. For migration from the scala.actors package refer to the Actors Migration Guide.