akka

actor

package actor

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. actor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbstractExtensionId[T <: Extension] extends ExtensionId[T]

    Java API for ExtensionId

  2. trait Actor extends AnyRef

    Actor base trait that should be extended by or mixed to create an Actor with the semantics of the 'Actor Model': http://en.

  3. trait ActorContext extends ActorRefFactory

    The actor context - the view of the actor cell from the actor.

  4. class ActorInitializationException extends AkkaException

    An ActorInitializationException is thrown when the the initialization logic for an Actor fails.

  5. class ActorInterruptedException extends AkkaException

    When an InterruptedException is thrown inside an Actor, it is wrapped as an ActorInterruptedException as to avoid cascading interrupts to other threads than the originally interrupted one.

  6. case class ActorKilledException extends AkkaException with NoStackTrace with Product with Serializable

    ActorKilledException is thrown when an Actor receives the akka.

  7. trait ActorLogging extends AnyRef

    Mix in ActorLogging into your Actor to easily obtain a reference to a logger, which is available under the name "log".

  8. sealed trait ActorPath extends Comparable[ActorPath] with Serializable

    Actor path is a unique path to an actor that shows the creation path up through the actor tree to the root actor.

  9. abstract class ActorRef extends Comparable[ActorRef] with Serializable

    Immutable and serializable handle to an actor, which may or may not reside on the local host or inside the same akka.actor.ActorSystem.

  10. trait ActorRefFactory extends AnyRef

    Interface implemented by ActorSystem and ActorContext, the only two places from which you can get fresh actors.

  11. trait ActorRefProvider extends AnyRef

    Interface for all ActorRef providers to implement.

  12. abstract class ActorSelection extends AnyRef

    An ActorSelection is a logical view of a section of an ActorSystem's tree of Actors, allowing for broadcasting of messages to that section.

  13. abstract class ActorSystem extends ActorRefFactory

    An actor system is a hierarchical group of actors which share common configuration, e.

  14. final case class Address extends Product with Serializable

    The address specifies the physical location under which an Actor can be reached.

  15. case class AllForOneStrategy(maxNrOfRetries: Int = -1, withinTimeRange: Duration = ...)(decider: Decider) extends SupervisorStrategy with Product with Serializable

    Applies the fault handling Directive (Resume, Restart, Stop) specified in the Decider to all children when one fails, as opposed to akka.actor.OneForOneStrategy that applies it only to the child actor that failed.

  16. trait Cancellable extends AnyRef

    Signifies something that can be cancelled There is no strict guarantee that the implementation is thread-safe, but it should be good practice to make it so.

  17. final class ChildActorPath extends ActorPath

    Annotations
    @SerialVersionUID( 1L )
  18. case class ChildRestartStats(child: ActorRef, maxNrOfRetriesCount: Int = 0, restartTimeWindowStartNanos: Long = 0L) extends ChildStats with Product with Serializable

    ChildRestartStats is the statistics kept by every parent Actor for every child Actor and is used for SupervisorStrategies to know how to deal with problems that occur for the children.

  19. case class ContextualTypedActorFactory(typedActor: TypedActorExtension, actorFactory: ActorContext) extends TypedActorFactory with Product with Serializable

    ContextualTypedActorFactory allows TypedActors to create children, effectively forming the same Actor Supervision Hierarchies as normal Actors can.

  20. case class DeadLetter(message: Any, sender: ActorRef, recipient: ActorRef) extends Product with Serializable

    When a message is sent to an Actor that is terminated before receiving the message, it will be sent as a DeadLetter to the ActorSystem's EventStream

  21. case class DeathPactException extends AkkaException with NoStackTrace with Product with Serializable

    A DeathPactException is thrown by an Actor that receives a Terminated(someActor) message that it doesn't handle itself, effectively crashing the Actor and escalating to the supervisor.

  22. class DefaultScheduler extends Scheduler with Closeable

    A scheduler implementation based on a HashedWheelTimer.

  23. final class DefaultSupervisorStrategy extends SupervisorStrategyConfigurator

  24. final case class Deploy(path: String = "", config: Config = ..., routerConfig: RouterConfig = akka.routing.NoRouter, scope: Scope = NoScopeGiven) extends Product with Serializable

    This class represents deployment configuration for a given actor path.

  25. abstract class DynamicAccess extends AnyRef

    The DynamicAccess implementation is the class which is used for loading all configurable parts of an actor system (the akka.actor.ReflectiveDynamicAccess is the default implementation).

  26. abstract class ExtendedActorSystem extends ActorSystem

    More powerful interface to the actor system’s implementation which is presented to extensions (see akka.actor.Extension).

  27. trait Extension extends AnyRef

    The basic ActorSystem covers all that is needed for locally running actors, using futures and so on.

  28. trait ExtensionId[T <: Extension] extends AnyRef

    Identifies an Extension Lookup of Extensions is done by object identity, so the Id must be the same wherever it's used, otherwise you'll get the same extension loaded multiple times.

  29. trait ExtensionIdProvider extends AnyRef

    To be able to load an ExtensionId from the configuration, a class that implements ExtensionIdProvider must be specified.

  30. abstract class ExtensionKey[T <: Extension] extends ExtensionId[T] with ExtensionIdProvider

    This is a one-stop-shop if all you want is an extension which is constructed with the ExtendedActorSystem as its only constructor argument:

  31. trait FSM[S, D] extends Listeners with ActorLogging

    Finite State Machine actor trait.

  32. final class IOManager extends Extension

    IOManager contains a reference to the akka.actor.IOManagerActor for an akka.actor.ActorSystem.

  33. final class IOManagerActor extends Actor with ActorLogging

    An akka.actor.Actor that performs IO using a Java NIO Selector.

  34. case class IllegalActorStateException extends AkkaException with Product with Serializable

    IllegalActorStateException is thrown when a core invariant in the Actor implementation has been violated.

  35. case class InvalidActorNameException(message: String) extends AkkaException with Product with Serializable

    An InvalidActorNameException is thrown when you try to convert something, usually a String, to an Actor name which doesn't validate.

  36. case class InvalidMessageException extends AkkaException with Product with Serializable

    InvalidMessageException is thrown when an invalid message is sent to an Actor; Currently only null is an invalid message.

  37. abstract class Kill extends AutoReceivedMessage with PossiblyHarmful

  38. class LocalActorRefProvider extends ActorRefProvider

    Local ActorRef provider.

  39. abstract class LocalScope extends Scope

    Annotations
    @SerialVersionUID( 1L )
  40. trait LoggingFSM[S, D] extends FSM[S, D]

    Stackable trait for akka.actor.FSM which adds a rolling event log and debug logging capabilities (analogous to akka.event.LoggingReceive).

  41. abstract class NoScopeGiven extends Scope

    This is the default value and as such allows overrides.

  42. trait NoSerializationVerificationNeeded extends AnyRef

    Marker trait to signal that this class should not be verified for serializability.

  43. case class OneForOneStrategy(maxNrOfRetries: Int = -1, withinTimeRange: Duration = ...)(decider: Decider) extends SupervisorStrategy with Product with Serializable

    Applies the fault handling Directive (Resume, Restart, Stop) specified in the Decider to the child actor that failed, as opposed to akka.actor.AllForOneStrategy that applies it to all children.

  44. abstract class PoisonPill extends AutoReceivedMessage with PossiblyHarmful

  45. trait PossiblyHarmful extends AnyRef

    Marker trait to indicate that a message might be potentially harmful, this is used to block messages coming in over remoting.

  46. case class PostRestartException extends ActorInitializationException with Product with Serializable

    A PostRestartException is thrown when constructor or postRestart() method fails during a restart attempt.

  47. case class PreRestartException extends ActorInitializationException with Product with Serializable

    A PreRestartException is thrown when the preRestart() method failed; this exception is not propagated to the supervisor, as it originates from the already failed instance, hence it is only visible as log entry on the event stream.

  48. case class Props(creator: () ⇒ Actor = Props.defaultCreator, dispatcher: String = ..., routerConfig: RouterConfig = Props.defaultRoutedProps, deploy: Deploy = Props.defaultDeploy) extends Product with Serializable

    Props is a ActorRef configuration object, that is immutable, so it is thread safe and fully sharable.

  49. abstract class ReceiveTimeout extends PossiblyHarmful

  50. class ReflectiveDynamicAccess extends DynamicAccess

    This is the default akka.actor.DynamicAccess implementation used by akka.actor.ActorSystemImpl unless overridden.

  51. final case class RootActorPath(address: Address, name: String = "/") extends ActorPath with Product with Serializable

    Root of the hierarchy of ActorPaths.

  52. trait ScalaActorRef extends AnyRef

    This trait represents the Scala Actor API There are implicit conversions in .

  53. trait ScalaActorSelection extends AnyRef

    Contains the Scala API (!-method) for ActorSelections) which provides automatic tracking of the sender, as per the usual implicit ActorRef pattern.

  54. trait Scheduler extends AnyRef

    An Akka scheduler service.

  55. trait Scope extends AnyRef

    The scope of a akka.actor.Deploy serves two purposes: as a marker for pattern matching the “scope” (i.

  56. sealed trait SelectionPath extends AutoReceivedMessage with PossiblyHarmful

    ActorRefFactory.

  57. trait Stash extends AnyRef

    The Stash trait enables an actor to temporarily stash away messages that can not or should not be handled using the actor's current behavior.

  58. class StashOverflowException extends AkkaException

    Is thrown when the size of the Stash exceeds the capacity of the Stash

  59. final class StoppingSupervisorStrategy extends SupervisorStrategyConfigurator

  60. abstract class SupervisorStrategy extends AnyRef

    An Akka SupervisorStrategy is the policy to apply for crashing children.

  61. trait SupervisorStrategyConfigurator extends AnyRef

    Implement this interface in order to configure the supervisorStrategy for the top-level guardian actor (/user).

  62. trait SupervisorStrategyLowPriorityImplicits extends AnyRef

  63. case class Terminated extends AutoReceivedMessage with PossiblyHarmful with Product with Serializable

    When Death Watch is used, the watcher will receive a Terminated(watched) message when watched is terminated.

  64. class TypedActorExtension extends TypedActorFactory with Extension

  65. trait TypedActorFactory extends AnyRef

    A TypedActorFactory is something that can created TypedActor instances.

  66. case class TypedProps[T <: AnyRef](interfaces: Seq[Class[_]], creator: () ⇒ T, dispatcher: String = TypedProps.defaultDispatcherId, deploy: Deploy = Props.defaultDeploy, timeout: Option[Timeout] = TypedProps.defaultTimeout, loader: Option[ClassLoader] = TypedProps.defaultLoader) extends Product with Serializable

    TypedProps is a TypedActor configuration object, that is thread safe and fully sharable.

  67. case class UnhandledMessage(message: Any, sender: ActorRef, recipient: ActorRef) extends Product with Serializable

    This message is published to the EventStream whenever an Actor receives a message it doesn't understand

  68. abstract class UntypedActor extends Actor

    Actor base trait that should be extended by or mixed to create an Actor with the semantics of the 'Actor Model': http://en.

  69. trait UntypedActorContext extends ActorContext

    UntypedActorContext is the UntypedActor equivalent of ActorContext, containing the Java API

  70. trait UntypedActorFactory extends Creator[Actor] with Serializable

    Factory closure for an UntypedActor, to be used with 'Actors.

  71. abstract class UntypedActorWithStash extends UntypedActor with Stash

    Actor base class that should be extended to create an actor with a stash.

  72. final class WriteBuffer extends AnyRef

Value Members

  1. object Actor

  2. object ActorDSL extends Inbox with Creators

    This object contains elements which make writing actors and related code more concise, e.

  3. object ActorInitializationException extends Serializable

  4. object ActorPath extends Serializable

  5. object ActorPathExtractor extends PathUtils

    Given an ActorPath it returns the Address and the path elements if the path is well-formed

  6. object ActorSelection

    An ActorSelection is a logical view of a section of an ActorSystem's tree of Actors, allowing for broadcasting of messages to that section.

  7. object ActorSystem

  8. object Address extends Serializable

  9. object AddressFromURIString

    This object serves as extractor for Scala and as address parser for Java.

  10. object FSM

  11. object IO

    IO messages and iteratees.

  12. object IOManager extends ExtensionId[IOManager] with ExtensionIdProvider

  13. object Kill extends Kill with Product with Serializable

    A message all Actors will understand, that when processed will make the Actor throw an ActorKilledException, which will trigger supervision.

  14. object LocalScope extends LocalScope with Product with Serializable

    The Local Scope is the default one, which is assumed on all deployments which do not set a different scope.

  15. object NoScopeGiven extends NoScopeGiven with Product with Serializable

  16. object OriginalRestartException

    This is an extractor for retrieving the original cause (i.

  17. object PoisonPill extends PoisonPill with Product with Serializable

    A message all Actors will understand, that when processed will terminate the Actor permanently.

  18. object Props extends Serializable

    Factory for Props instances.

  19. object ReceiveTimeout extends ReceiveTimeout with Product with Serializable

    When using ActorContext.

  20. object RelativeActorPath extends PathUtils

    Extractor for so-called “relative actor paths” as in “relative URI”, not in “relative to some actor”.

  21. object Status

    Classes for passing status back to the sender.

  22. object SupervisorStrategy extends SupervisorStrategyLowPriorityImplicits

  23. object TypedActor extends ExtensionId[TypedActorExtension] with ExtensionIdProvider

    This represents the TypedActor Akka Extension, access to the functionality is done through a given ActorSystem.

  24. object TypedProps extends Serializable

    TypedProps is a TypedActor configuration object, that is thread safe and fully sharable.

  25. implicit def actorRef2Scala(ref: ActorRef): ScalaActorRef

  26. package dsl

  27. package mailbox

  28. implicit def scala2ActorRef(ref: ScalaActorRef): ActorRef

Inherited from AnyRef

Inherited from Any

Ungrouped