Package org.apache.pekko.actor
Class ChildActorPath
java.lang.Object
org.apache.pekko.actor.ChildActorPath
- All Implemented Interfaces:
Serializable,Comparable<ActorPath>,ActorPath
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new child actor path.address()The Address under which this path can be reached; walks up the tree to the RootActorPath.intscala.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.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.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, toStringWithoutAddress
-
Method Details
-
$div
Description copied from interface:ActorPathCreate a new child actor path. -
address
Description copied from interface:ActorPathThe Address under which this path can be reached; walks up the tree to the RootActorPath. -
compareTo
- Specified by:
compareToin interfaceComparable<ActorPath>
-
elements
Description copied from interface:ActorPathSequence of names for this path from root to this. Performance implication: has to allocate a list. -
equals
-
hashCode
public int hashCode() -
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. -
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
-
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
-
toString
-
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
-