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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from RootActorPath toany2stringadd[RootActorPath] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (RootActorPath, B)
- Implicit
- This member is added by an implicit conversion from RootActorPath toArrowAssoc[RootActorPath] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- 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
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- 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 ensuring(cond: (RootActorPath) => Boolean, msg: => Any): RootActorPath
- Implicit
- This member is added by an implicit conversion from RootActorPath toEnsuring[RootActorPath] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (RootActorPath) => Boolean): RootActorPath
- Implicit
- This member is added by an implicit conversion from RootActorPath toEnsuring[RootActorPath] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): RootActorPath
- Implicit
- This member is added by an implicit conversion from RootActorPath toEnsuring[RootActorPath] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): RootActorPath
- Implicit
- This member is added by an implicit conversion from RootActorPath toEnsuring[RootActorPath] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- 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()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from RootActorPath toStringFormat[RootActorPath] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (RootActorPath, B)
- Implicit
- This member is added by an implicit conversion from RootActorPath toArrowAssoc[RootActorPath] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.