Used to pattern match on values that were sent
to some channel Chann
by the current
actor self
.
Provides lightweight, concurrent actors.
Defines result-bearing message send operations.
Provides a means for typed communication among actors.
Base trait for actors with daemon semantics.
Sent to an actor
with trapExit
set to true
whenever one of its linked actors
terminates.
A function of arity 0, returing a value of type T
that,
when applied, blocks the current actor (Actor.self
)
until the future's value is available.
A common interface for all schedulers used to execute actor tasks.
A common interface for all channels from which values can be received.
A common interface for all channels to which values can be sent.
Super trait of all actor traits.
Extends the Reactor trait with methods to reply to the sender of a message.
Adapts the behavior of the standard scala.actors.Scheduler object.
The exit reason when an actor fails to catch an exception.
this class is going to be removed in a future release
use scheduler.ForkJoinScheduler instead
The class MessageQueue
provides an efficient
implementation of a message queue specialized for this actor
library.
This class is used by our efficient message queue implementation.
The abstract class Reaction
associates
an instance of an Actor
with a
java.lang.Runnable
.
use scheduler.SingleThreadedScheduler instead
use scheduler.ForkJoinScheduler instead
this class is going to be removed in a future release
use scheduler.ForkJoinScheduler instead
Provides functions for the definition of
actors, as well as actor operations, such as
receive
, react
, reply
,
etc.
Provides methods for generating debugging output.
Methods that operate on futures.
Used by Actor instances to execute tasks of an actor execution.
Used as the timeout pattern in
receiveWithin
and
reactWithin
.
this value is going to be removed in a future release
A library that provides both asynchronous and synchronous messaging to allow for concurrent programming without explicit synchronization.
Guide
A detailed guide for the actors library is available http://www.scala-lang.org/docu/files/actors-api/actors_api_guide.html#.
Getting Started
A starting point for using the actors library would be Reactor, ReplyReactor, or Actor or their companion objects.