akka.actor

ActorRefProvider

trait ActorRefProvider extends AnyRef

Interface for all ActorRef providers to implement.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ActorRefProvider
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def actorFor (ref: InternalActorRef, p: Iterable[String]): InternalActorRef

    Create actor reference for the specified child path starting at the given starting point.

    Create actor reference for the specified child path starting at the given starting point. This method always returns an actor which is “logically local”, i.e. it cannot be used to obtain a reference to an actor which is not physically or logically attached to this actor system.

    Attributes
    abstract
  2. def actorFor (ref: InternalActorRef, s: String): InternalActorRef

    Create actor reference for a specified local or remote path, which will be parsed using java.

    Create actor reference for a specified local or remote path, which will be parsed using java.net.URI. If no such actor exists, it will be (equivalent to) a dead letter reference. If s is a relative URI, resolve it relative to the given ref.

    Attributes
    abstract
  3. def actorFor (path: ActorPath): InternalActorRef

    Create actor reference for a specified local or remote path.

    Create actor reference for a specified local or remote path. If no such actor exists, it will be (equivalent to) a dead letter reference.

    Attributes
    abstract
  4. def actorOf (system: ActorSystemImpl, props: Props, supervisor: InternalActorRef, path: ActorPath, systemService: Boolean, deploy: Option[Deploy], lookupDeploy: Boolean): InternalActorRef

    Actor factory with create-only semantics: will create an actor as described by props with the given supervisor and path (may be different in case of remote supervision).

    Actor factory with create-only semantics: will create an actor as described by props with the given supervisor and path (may be different in case of remote supervision). If systemService is true, deployment is bypassed (local-only). If Some(deploy) is passed in, it should be regarded as taking precedence over the nominally applicable settings, but it should be overridable from external configuration; the lookup of the latter can be suppressed by setting lookupDeploy to false.

    Attributes
    abstract
  5. def deadLetters : ActorRef

    Dead letter destination for this provider.

    Dead letter destination for this provider.

    Attributes
    abstract
  6. def deathWatch : DeathWatch

    Reference to the death watch service.

    Reference to the death watch service.

    Attributes
    abstract
  7. def deployer : Deployer

    Attributes
    abstract
  8. def dispatcher : MessageDispatcher

    Attributes
    abstract
  9. def getExternalAddressFor (addr: Address): Option[Address]

    Obtain the address which is to be used within sender references when sending to the given other address or none if the other address cannot be reached from this system (i.

    Obtain the address which is to be used within sender references when sending to the given other address or none if the other address cannot be reached from this system (i.e. no means of communication known; no attempt is made to verify actual reachability).

    Attributes
    abstract
  10. def guardian : InternalActorRef

    Reference to the supervisor used for all top-level user actors.

    Reference to the supervisor used for all top-level user actors.

    Attributes
    abstract
  11. def init (system: ActorSystemImpl): Unit

    Initialization of an ActorRefProvider happens in two steps: first construction of the object with settings, eventStream, scheduler, etc.

    Initialization of an ActorRefProvider happens in two steps: first construction of the object with settings, eventStream, scheduler, etc. and then—when the ActorSystem is constructed—the second phase during which actors may be created (e.g. the guardians).

    Attributes
    abstract
  12. def registerTempActor (actorRef: InternalActorRef, path: ActorPath): Unit

    Registers an actorRef at a path returned by tempPath(); do NOT pass in any other path.

    Registers an actorRef at a path returned by tempPath(); do NOT pass in any other path.

    Attributes
    abstract
  13. def rootGuardian : InternalActorRef

    Reference to the supervisor of guardian and systemGuardian; this is exposed so that the ActorSystemImpl can use it as lookupRoot, i.

    Reference to the supervisor of guardian and systemGuardian; this is exposed so that the ActorSystemImpl can use it as lookupRoot, i.e. for anchoring absolute actor look-ups.

    Attributes
    abstract
  14. def rootPath : ActorPath

    The root path for all actors within this actor system, including remote address if enabled.

    The root path for all actors within this actor system, including remote address if enabled.

    Attributes
    abstract
  15. def scheduler : Scheduler

    Attributes
    abstract
  16. def settings : Settings

    Attributes
    abstract
  17. def systemGuardian : InternalActorRef

    Reference to the supervisor used for all top-level system actors.

    Reference to the supervisor used for all top-level system actors.

    Attributes
    abstract
  18. def tempContainer : InternalActorRef

    Returns the actor reference representing the “/temp” path.

    Returns the actor reference representing the “/temp” path.

    Attributes
    abstract
  19. def tempPath (): ActorPath

    Generates and returns a unique actor path below “/temp”.

    Generates and returns a unique actor path below “/temp”.

    Attributes
    abstract
  20. def terminationFuture : Future[Unit]

    This Future is completed upon termination of this ActorRefProvider, which is usually initiated by stopping the guardian via ActorSystem.

    This Future is completed upon termination of this ActorRefProvider, which is usually initiated by stopping the guardian via ActorSystem.stop().

    Attributes
    abstract
  21. def unregisterTempActor (path: ActorPath): Unit

    Unregister a temporary actor from the “/temp” path (i.

    Unregister a temporary actor from the “/temp” path (i.e. obtained from tempPath()); do NOT pass in any other path.

    Attributes
    abstract

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  9. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  12. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  13. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  14. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  15. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  16. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  17. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  18. def toString (): String

    Definition Classes
    AnyRef → Any
  19. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  20. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any