Package org.apache.pekko.actor
Class RootActorPath
java.lang.Object
org.apache.pekko.actor.RootActorPath
- All Implemented Interfaces:
Serializable,Comparable<ActorPath>,ActorPath,scala.Equals,scala.Product
Root of the hierarchy of ActorPaths. There is exactly root per ActorSystem
and node (for remote-enabled or clustered systems).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a new child actor path.static Stringaddress()The Address under which this path can be reached; walks up the tree to the RootActorPath.static RootActorPathstatic Stringbooleanintscala.collection.immutable.Iterable<String>elements()Sequence of names for this path from root to this.booleaninthashCode()name()The name of the actor that this path refers to.parent()The path for the parent actor.intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>root()Walk up the tree to obtain and return the RootActorPath.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, replacing the Address in the RootActor Path with the given one unless this path’s address includes host and port information.toString()toStringWithAddress(Address addr) Generate String representation, replacing the Address in the RootActor Path with the given one unless this path’s address includes host and port information.unapply(RootActorPath x$0) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.pekko.actor.ActorPath
$div, child, descendant, getElements, toStringWithoutAddressMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
RootActorPath
-
-
Method Details
-
$lessinit$greater$default$2
-
apply
-
apply$default$2
-
unapply
-
address
Description copied from interface:ActorPathThe Address under which this path can be reached; walks up the tree to the RootActorPath. -
name
Description copied from interface:ActorPathThe name of the actor that this path refers to. -
parent
Description copied from interface:ActorPathThe path for the parent actor. -
root
Description copied from interface:ActorPathWalk up the tree to obtain and return the RootActorPath. -
$div
Description copied from interface:ActorPathCreate a new child actor path. -
elements
Description copied from interface:ActorPathSequence of names for this path from root to this. Performance implication: has to allocate a list. -
toString
-
toSerializationFormat
Description copied from interface:ActorPathGenerate full String representation including the uid for the actor cell instance as URI fragment. This representation should be used as serialized representation instead oftoString.- Specified by:
toSerializationFormatin interfaceActorPath
-
toStringWithAddress
Description copied from interface:ActorPathGenerate String representation, replacing the Address in the RootActor Path with the given one unless this path’s address includes host and port information.- Specified by:
toStringWithAddressin interfaceActorPath
-
toSerializationFormatWithAddress
Description copied from interface:ActorPathGenerate 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 oftoStringWithAddress.- Specified by:
toSerializationFormatWithAddressin interfaceActorPath
-
compareTo
- Specified by:
compareToin interfaceComparable<ActorPath>
-
copy
-
copy$default$1
-
copy$default$2
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
equals
-