Packages

c

akka.actor

RootActorPath

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

Root of the hierarchy of ActorPaths. There is exactly root per ActorSystem and node (for remote-enabled or clustered systems).

Annotations
@SerialVersionUID()
Source
ActorPath.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RootActorPath
  2. Product
  3. Equals
  4. ActorPath
  5. Serializable
  6. Serializable
  7. Comparable
  8. AnyRef
  9. 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

Instance Constructors

  1. new RootActorPath(address: Address, name: String = "/")

Value Members

  1. def /(child: String): ActorPath

    Create a new child actor path.

    Create a new child actor path.

    Definition Classes
    RootActorPathActorPath
  2. def /(child: Iterable[String]): ActorPath

    Recursively create a descendant’s path by appending all child names.

    Recursively create a descendant’s path by appending all child names.

    Definition Classes
    ActorPath
  3. val address: Address

    The Address under which this path can be reached; walks up the tree to the RootActorPath.

    The Address under which this path can be reached; walks up the tree to the RootActorPath.

    Definition Classes
    RootActorPathActorPath
  4. def child(child: String): ActorPath

    Java API: Create a new child actor path.

    Java API: Create a new child actor path.

    Definition Classes
    ActorPath
  5. def compareTo(other: ActorPath): Int
    Definition Classes
    RootActorPath → Comparable
  6. def descendant(names: Iterable[String]): ActorPath

    Java API: Recursively create a descendant’s path by appending all child names.

    Java API: Recursively create a descendant’s path by appending all child names.

    Definition Classes
    ActorPath
  7. def elements: Iterable[String]

    Sequence of names for this path from root to this.

    Sequence of names for this path from root to this. Performance implication: has to allocate a list.

    Definition Classes
    RootActorPathActorPath
  8. def getElements: Iterable[String]

    Java API: Sequence of names for this path from root to this.

    Java API: Sequence of names for this path from root to this. Performance implication: has to allocate a list.

    Definition Classes
    ActorPath
  9. val name: String

    The name of the actor that this path refers to.

    The name of the actor that this path refers to.

    Definition Classes
    RootActorPathActorPath
  10. def parent: ActorPath

    The path for the parent actor.

    The path for the parent actor.

    Definition Classes
    RootActorPathActorPath
  11. def root: RootActorPath

    Walk up the tree to obtain and return the RootActorPath.

    Walk up the tree to obtain and return the RootActorPath.

    Definition Classes
    RootActorPathActorPath
  12. val toSerializationFormat: String

    Generate full String representation including the uid for the actor cell instance as URI fragment.

    Generate full String representation including the uid for the actor cell instance as URI fragment. This representation should be used as serialized representation instead of toString.

    Definition Classes
    RootActorPathActorPath
  13. def toSerializationFormatWithAddress(addr: Address): String

    Generate full String representation including the uid for the actor cell instance as URI fragment, replacing the Address in the RootActor Path with the given one unless this path’s address includes host and port information.

    Generate full String representation including the uid for the actor cell instance as URI fragment, replacing the Address in the RootActor Path with the given one unless this path’s address includes host and port information. This representation should be used as serialized representation instead of toStringWithAddress.

    Definition Classes
    RootActorPathActorPath
  14. val toString: String
    Definition Classes
    RootActorPath → AnyRef → Any
  15. def toStringWithAddress(addr: Address): String

    Generate String representation, replacing the Address in the RootActor Path with the given one unless this path’s address includes host and port information.

    Generate String representation, replacing the Address in the RootActor Path with the given one unless this path’s address includes host and port information.

    Definition Classes
    RootActorPathActorPath
  16. def toStringWithoutAddress: String

    String representation of the path elements, excluding the address information.

    String representation of the path elements, excluding the address information. The elements are separated with "/" and starts with "/", e.g. "/user/a/b".

    Definition Classes
    ActorPath