Package org.apache.pekko.actor
Class Nobody$
java.lang.Object
org.apache.pekko.actor.ActorRef
org.apache.pekko.actor.Nobody$
- All Implemented Interfaces:
Serializable,Comparable<ActorRef>,ActorRefScope,LocalRef,MinimalActorRef,scala.Equals,scala.Product
This is an internal look-up failure token, not useful for anything else.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanabstract org.apache.pekko.actor.InternalActorRefObtain ActorRef by possibly traversing the actor tree or looking it up at some provider-specific location.abstract org.apache.pekko.actor.InternalActorRefObtain parent of this ref; used by getChild for ".." paths.abstract booleanisLocal()Scope: if this ref points to an actor which resides within the same JVM, i.e.static booleanisTemporaryRef(ActorRef ref) path()Returns the path for this actor (from this actor up to the root actor).intproductElement(int x$1) scala.collection.Iterator<Object>scala.runtime.Nothing$provider()abstract voidabstract voidabstract voidsendSystemMessage(SystemMessage message) abstract voidstart()abstract voidstop()abstract voidsuspend()protected ObjectMethods inherited from class org.apache.pekko.actor.ActorRef
$bang, $bang$default$2, compareTo, equals, forward, hashCode, noSender, tell, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Equals
equalsMethods inherited from interface org.apache.pekko.actor.MinimalActorRef
$bang, $bang$default$2, getChild, getParent, isTerminated, restart, resume, sendSystemMessage, start, stop, suspendMethods inherited from interface scala.Product
productElementName, productElementNames
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Nobody$
public Nobody$()
-
-
Method Details
-
path
Description copied from class:ActorRefReturns the path for this actor (from this actor up to the root actor). -
provider
public scala.runtime.Nothing$ provider() -
writeReplace
- Specified by:
writeReplacein interfaceMinimalActorRef- Throws:
ObjectStreamException
-
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
-
isTemporaryRef
-
start
public abstract void start() -
resume
-
suspend
public abstract void suspend() -
restart
-
stop
public abstract void stop() -
sendSystemMessage
-
getParent
public abstract org.apache.pekko.actor.InternalActorRef getParent()Obtain parent of this ref; used by getChild for ".." paths. -
getChild
public abstract org.apache.pekko.actor.InternalActorRef getChild(scala.collection.Iterator<String> name) Obtain ActorRef by possibly traversing the actor tree or looking it up at some provider-specific location. This method shall return the end result, i.e. not only the next step in the look-up; this will typically involve recursive invocation. A path element of ".." signifies the parent, a trailing "" element must be disregarded. If the requested path does not exist, return Nobody. -
isLocal
public abstract boolean isLocal()Scope: if this ref points to an actor which resides within the same JVM, i.e. whose mailbox is directly reachable etc.
-