ActorGC keeps track of the number of live actors being managed by a a scheduler so that it can shutdown when all of the actors it manages have either been explicitly terminated or garbage collected.
The ExecutorScheduler class uses an
ExecutorService to execute Actors.
The ExecutorScheduler class uses an
ExecutorService to execute Actors.
(Since version 2.11.0) Use the akka.actor package instead. For migration from the scala.actors package refer to the Actors Migration Guide.
The ForkJoinScheduler is backed by a lightweight
fork-join task execution framework.
The ForkJoinScheduler is backed by a lightweight
fork-join task execution framework.
(Since version 2.11.0) Use the akka.actor package instead. For migration from the scala.actors package refer to the Actors Migration Guide.
This scheduler class uses a ThreadPoolExecutor to execute Actors.
This scheduler class uses a ThreadPoolExecutor to execute Actors.
The scheduler attempts to shut down itself and the underlying
ThreadPoolExecutor only if terminate is set to true. Otherwise,
the scheduler must be shut down explicitly.
(Since version 2.11.0) Use the akka.actor package instead. For migration from the scala.actors package refer to the Actors Migration Guide.
This scheduler executes actor tasks on the current thread.
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.
Default scheduler for actors with daemon semantics, such as those backing futures.
Default scheduler for actors with daemon semantics, such as those backing futures.
(Since version 2.11.0) Use the akka.actor package instead. For migration from the scala.actors package refer to the Actors Migration Guide.
The ExecutorScheduler object is used to create
ExecutorScheduler instances.
The ExecutorScheduler object is used to create
ExecutorScheduler instances.
(Since version 2.11.0) Use the akka.actor package instead. For migration from the scala.actors package refer to the Actors Migration Guide.
ActorGC keeps track of the number of live actors being managed by a a scheduler so that it can shutdown when all of the actors it manages have either been explicitly terminated or garbage collected.
When an actor is started, it is registered with the ActorGC via the
newActormethod, and when an actor is knowingly terminated (e.g. act method finishes, exit explicitly called, an exception is thrown), the ActorGC is informed via theterminatedmethod.(Since version 2.11.0) Use the akka.actor package instead. For migration from the scala.actors package refer to the Actors Migration Guide.