Trait

akka.actor

ActorRefProvider

Related Doc: package actor

Permalink

trait ActorRefProvider extends AnyRef

Interface for all ActorRef providers to implement.

Source
ActorRefProvider.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ActorRefProvider
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

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

    Permalink

    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.

  2. abstract def deadLetters: ActorRef

    Permalink

    Dead letter destination for this provider.

  3. abstract def deployer: Deployer

    Permalink

    The Deployer associated with this ActorRefProvider

  4. abstract def getDefaultAddress: Address

    Permalink

    Obtain the external address of the default transport.

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

    Permalink

    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.

    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).

  6. abstract def guardian: LocalActorRef

    Permalink

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

  7. abstract def init(system: ActorSystemImpl): Unit

    Permalink

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

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

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

    Permalink

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

  9. abstract def resolveActorRef(path: ActorPath): ActorRef

    Permalink

    Create actor reference for a specified path.

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

  10. abstract def resolveActorRef(path: String): ActorRef

    Permalink

    Create actor reference for a specified path.

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

  11. abstract def rootGuardian: InternalActorRef

    Permalink

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

    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.

  12. abstract def rootGuardianAt(address: Address): ActorRef

    Permalink

    Reference to the supervisor of guardian and systemGuardian at the specified address; this is exposed so that the ActorRefFactory can use it as lookupRoot, i.e.

    Reference to the supervisor of guardian and systemGuardian at the specified address; this is exposed so that the ActorRefFactory can use it as lookupRoot, i.e. for anchoring absolute actor selections.

  13. abstract def rootPath: ActorPath

    Permalink

    The root path for all actors within this actor system, not including any remote address information.

  14. abstract def settings: Settings

    Permalink

    The Settings associated with this ActorRefProvider

  15. abstract def systemGuardian: LocalActorRef

    Permalink

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

  16. abstract def tempContainer: InternalActorRef

    Permalink

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

  17. abstract def tempPath(): ActorPath

    Permalink

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

  18. abstract def terminationFuture: Future[Terminated]

    Permalink

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

  19. abstract def unregisterTempActor(path: ActorPath): Unit

    Permalink

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

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

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ActorRefProvider to any2stringadd[ActorRefProvider] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ActorRefProvider, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ActorRefProvider to ArrowAssoc[ActorRefProvider] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def ensuring(cond: (ActorRefProvider) ⇒ Boolean, msg: ⇒ Any): ActorRefProvider

    Permalink
    Implicit information
    This member is added by an implicit conversion from ActorRefProvider to Ensuring[ActorRefProvider] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (ActorRefProvider) ⇒ Boolean): ActorRefProvider

    Permalink
    Implicit information
    This member is added by an implicit conversion from ActorRefProvider to Ensuring[ActorRefProvider] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): ActorRefProvider

    Permalink
    Implicit information
    This member is added by an implicit conversion from ActorRefProvider to Ensuring[ActorRefProvider] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): ActorRefProvider

    Permalink
    Implicit information
    This member is added by an implicit conversion from ActorRefProvider to Ensuring[ActorRefProvider] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ActorRefProvider to StringFormat[ActorRefProvider] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def [B](y: B): (ActorRefProvider, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ActorRefProvider to ArrowAssoc[ActorRefProvider] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ActorRefProvider to any2stringadd[ActorRefProvider]

Inherited by implicit conversion StringFormat from ActorRefProvider to StringFormat[ActorRefProvider]

Inherited by implicit conversion Ensuring from ActorRefProvider to Ensuring[ActorRefProvider]

Inherited by implicit conversion ArrowAssoc from ActorRefProvider to ArrowAssoc[ActorRefProvider]

Ungrouped