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
- Alphabetic
- By Inheritance
- RootActorPath
- Product
- Equals
- ActorPath
- Serializable
- Comparable
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- def /(child: String): ActorPath
Create a new child actor path.
Create a new child actor path.
- Definition Classes
- RootActorPath → ActorPath
- 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
- 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
- RootActorPath → ActorPath
- def child(child: String): ActorPath
Java API: Create a new child actor path.
Java API: Create a new child actor path.
- Definition Classes
- ActorPath
- def compareTo(other: ActorPath): Int
- Definition Classes
- RootActorPath → Comparable
- 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
- 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
- RootActorPath → ActorPath
- 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
- Annotations
- @nowarn()
- 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
- RootActorPath → ActorPath
- def parent: ActorPath
The path for the parent actor.
The path for the parent actor.
- Definition Classes
- RootActorPath → ActorPath
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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
- RootActorPath → ActorPath
- 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
- RootActorPath → ActorPath
- 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
- RootActorPath → ActorPath
- val toString: String
- Definition Classes
- RootActorPath → AnyRef → Any
- 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
- RootActorPath → ActorPath
- 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