public final class RootActorPath extends java.lang.Object implements ActorPath, scala.Product, scala.Serializable
Constructor and Description |
---|
RootActorPath(Address address,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static ActorPath |
$div(scala.collection.Iterable<java.lang.String> child) |
abstract static ActorPath |
$div(java.lang.String child) |
Address |
address()
The Address under which this path can be reached; walks up the tree to
the RootActorPath.
|
abstract static boolean |
canEqual(java.lang.Object that) |
static ActorPath |
child(java.lang.String child) |
int |
compareTo(ActorPath other) |
static ActorPath |
descendant(java.lang.Iterable<java.lang.String> names) |
scala.collection.immutable.Iterable<java.lang.String> |
elements()
Sequence of names for this path from root to this.
|
abstract static boolean |
equals(java.lang.Object that) |
static java.lang.Iterable<java.lang.String> |
getElements() |
java.lang.String |
name()
The name of the actor that this path refers to.
|
ActorPath |
parent()
The path for the parent actor.
|
abstract static int |
productArity() |
abstract static java.lang.Object |
productElement(int n) |
static scala.collection.Iterator<java.lang.Object> |
productIterator() |
static java.lang.String |
productPrefix() |
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.
|
static java.lang.String |
toStringWithoutAddress() |
int |
uid()
INTERNAL API
|
ActorPath |
withUid(int uid)
INTERNAL API
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
child, descendant, getElements, toStringWithoutAddress
public RootActorPath(Address address, java.lang.String name)
public abstract static ActorPath $div(java.lang.String child)
public static ActorPath child(java.lang.String child)
public static ActorPath $div(scala.collection.Iterable<java.lang.String> child)
public static ActorPath descendant(java.lang.Iterable<java.lang.String> names)
public static java.lang.Iterable<java.lang.String> getElements()
public static java.lang.String toStringWithoutAddress()
public abstract static boolean canEqual(java.lang.Object that)
public abstract static boolean equals(java.lang.Object that)
public abstract static java.lang.Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<java.lang.Object> productIterator()
public static java.lang.String productPrefix()
public Address address()
ActorPath
public java.lang.String name()
ActorPath
public ActorPath parent()
ActorPath
public RootActorPath root()
ActorPath
public scala.collection.immutable.Iterable<java.lang.String> elements()
ActorPath
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toSerializationFormat()
ActorPath
toString
.toSerializationFormat
in interface ActorPath
public java.lang.String toStringWithAddress(Address addr)
ActorPath
toStringWithAddress
in interface ActorPath
addr
- (undocumented)public java.lang.String toSerializationFormatWithAddress(Address addr)
ActorPath
toStringWithAddress
.toSerializationFormatWithAddress
in interface ActorPath
addr
- (undocumented)public int compareTo(ActorPath other)
compareTo
in interface java.lang.Comparable<ActorPath>