scala

actors

package actors

Visibility
  1. Public
  2. All
Impl.
  1. Concrete
  2. Abstract

Type Members

  1. case class ! [a] (ch: Channel[a], msg: a) extends Product

    This class is used to pattern match on values that were sent to some channel Chann by the current actor self.

  2. trait AbstractActor extends OutputChannel[Any] with CanReply[Any, Any]

    The AbstractActor trait.

  3. trait Actor extends AbstractActor with ReplyReactor with ActorCanReply with InputChannel[Any]

    This trait provides lightweight, concurrent actors.

  4. trait CanReply [-T, +R] extends AnyRef

    The CanReply trait defines result-bearing message send operations.

  5. class Channel [Msg] extends InputChannel[Msg] with OutputChannel[Msg] with CanReply[Msg, Any]

    This class provides a means for typed communication among actors.

  6. trait DaemonActor extends Actor

    Base trait for actors with daemon semantics.

  7. class Debug extends Logger

      deprecated:
    1. this class is going to be removed in a future release

  8. case class Exit (from: AbstractActor, reason: AnyRef) extends Product

    An Exit message (an instance of this class) is sent to an actor with trapExit set to true whenever one of its linked actors terminates.

  9. type FJTaskScheduler2 = ForkJoinScheduler

    definition classes: root
      deprecated:
    1. use scheduler.ForkJoinScheduler instead

  10. class Future [+T] extends Responder[T] with () ⇒ T

    A Future[T] is a function of arity 0 that returns a value of type T.

  11. trait IScheduler extends AnyRef

    The IScheduler trait provides a common interface for all schedulers used to execute actor tasks.

  12. trait InputChannel [+Msg] extends AnyRef

    The InputChannel trait provides a common interface for all channels from which values can be received.

  13. class MessageQueue extends MQueue[Any]

    The class MessageQueue provides an efficient implementation of a message queue specialized for this actor library.

  14. class MessageQueueElement extends MQueueElement[Any]

    This class is used by our efficient message queue implementation.

  15. trait OutputChannel [-Msg] extends AnyRef

    The OutputChannel trait provides a common interface for all channels to which values can be sent.

  16. class Reaction extends ActorTask

    The abstract class Reaction associates an instance of an Actor with a java.lang.Runnable.

  17. trait Reactor [Msg >: Null] extends OutputChannel[Msg] with Combinators

    The Reactor trait provides lightweight actors.

  18. trait ReplyReactor extends Reactor[Any] with ReactorCanReply

    The ReplyReactor trait extends the Reactor trait with methods to reply to the sender of a message.

  19. trait SchedulerAdapter extends IScheduler

    The SchedulerAdapter trait is used to adapt the behavior of the standard Scheduler object.

  20. type SingleThreadedScheduler = SingleThreadedScheduler

    definition classes: root
      deprecated:
    1. use scheduler.SingleThreadedScheduler instead

  21. type TickedScheduler = ForkJoinScheduler

    definition classes: root
      deprecated:
    1. use scheduler.ForkJoinScheduler instead

  22. case class UncaughtException (actor: Actor, message: Option[Any], sender: Option[OutputChannel[Any]], thread: Thread, cause: Throwable) extends Exception with Product

    The exit reason when an actor fails to catch an exception.

  23. type WorkerThread = Thread

    definition classes: root
      deprecated:
    1. this class is going to be removed in a future release

  24. type WorkerThreadScheduler = ForkJoinScheduler

    definition classes: root
      deprecated:
    1. use scheduler.ForkJoinScheduler instead

Value Members

  1. object Actor extends Combinators

    The Actor object provides functions for the definition of actors, as well as actor operations, such asreceive, react, reply, etc.

  2. val ActorGC : IScheduler with ActorGC

    definition classes: root
      deprecated:
    1. this value is going to be removed in a future release

  3. object Debug extends Logger

    Provides methods for generating debugging output.

  4. object Futures extends AnyRef

    The Futures object contains methods that operate on futures.

  5. object Scheduler extends DelegatingScheduler

    The Scheduler object is used by Actor to execute tasks of an actor execution.

  6. object TIMEOUT extends Product

    This object is used as the timeout pattern in receiveWithin and reactWithin.

  7. package remote

  8. package scheduler