public final class ChildActorPath extends java.lang.Object implements ActorPath
| Constructor and Description |
|---|
ChildActorPath(ActorPath parent,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
Address |
address()
The Address under which this path can be reached; walks up the tree to
the RootActorPath.
|
int |
compareTo(ActorPath other) |
scala.collection.immutable.Iterable<java.lang.String> |
elements()
Sequence of names for this path from root to this.
|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
java.lang.String |
name()
The name of the actor that this path refers to.
|
ActorPath |
parent()
The path for the parent actor.
|
RootActorPath |
root()
Walk up the tree to obtain and return the RootActorPath.
|
java.lang.String |
toSerializationFormat()
Generate full String representation including the
uid for the actor cell instance as URI fragment.
|
java.lang.String |
toSerializationFormatWithAddress(Address addr)
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.
|
java.lang.String |
toString() |
java.lang.String |
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.
|
int |
uid()
INTERNAL API
Unique identifier of the actor.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitchild, descendant, ElementRegex, emptyActorPath, fromString, getElements, toStringWithoutAddresspublic ChildActorPath(ActorPath parent, java.lang.String name)
public ActorPath parent()
ActorPathpublic java.lang.String name()
ActorPathpublic int uid()
ActorPathpublic Address address()
ActorPathpublic scala.collection.immutable.Iterable<java.lang.String> elements()
ActorPathpublic RootActorPath root()
ActorPathpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toSerializationFormat()
ActorPathtoString.toSerializationFormat in interface ActorPathpublic java.lang.String toStringWithAddress(Address addr)
ActorPathtoStringWithAddress in interface ActorPathpublic java.lang.String toSerializationFormatWithAddress(Address addr)
ActorPathtoStringWithAddress.toSerializationFormatWithAddress in interface ActorPathpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object