The type of the futures that the underlying task runner supports.
The type of the futures that the underlying task runner supports.
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
Returns string formatted according to given format
string.
Returns string formatted according to given format
string.
Format strings are as for String.format
(@see java.lang.String.format).
An implicit conversion from futures to zero-parameter functions.
An implicit conversion from futures to zero-parameter functions.
Checks for actors that have become garbage.
Checks for actors that have become garbage.
The scheduler is active if the underlying ExecutorService
has not been shut down.
The scheduler is active if the underlying ExecutorService
has not been shut down.
true
, if the scheduler is active, otherwise false.
newActor is invoked whenever a new actor is started.
newActor is invoked whenever a new actor is started.
This method is called when the scheduler shuts down.
This method is called when the scheduler shuts down.
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.
Submits a task to run which returns its result in a future.
Submits a task to run which returns its result in a future.
Indicates whether the scheduler should terminate when all actors have terminated.
Indicates whether the scheduler should terminate when all actors have terminated.
Registers that the specified actor has terminated.
Registers that the specified actor has terminated.
the actor that has terminated
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version 2.10.0) Use blocking
instead.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
The
ExecutorScheduler
class uses anExecutorService
to executeActor
s.(Since version 2.11.0) Use the akka.actor package instead. For migration from the scala.actors package refer to the Actors Migration Guide.