Package org.apache.pekko.actor
Class Nobody$
- java.lang.Object
-
- org.apache.pekko.actor.ActorRef
-
- org.apache.pekko.actor.Nobody$
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ActorRef>,ActorRefScope,LocalRef,MinimalActorRef,ScalaActorRef,scala.Equals,scala.Product
public class Nobody$ extends ActorRef implements MinimalActorRef, scala.Product, java.io.Serializable
This is an internal look-up failure token, not useful for anything else.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Nobody$()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancanEqual(java.lang.Object x$1)abstract org.apache.pekko.actor.InternalActorRefgetChild(scala.collection.Iterator<java.lang.String> name)Obtain ActorRef by possibly traversing the actor tree or looking it up at some provider-specific location.abstract org.apache.pekko.actor.InternalActorRefgetParent()Obtain 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)RootActorPathpath()Returns the path for this actor (from this actor up to the root actor).intproductArity()java.lang.ObjectproductElement(int x$1)scala.collection.Iterator<java.lang.Object>productIterator()java.lang.StringproductPrefix()scala.runtime.Nothing$provider()abstract voidrestart(java.lang.Throwable cause)abstract voidresume(java.lang.Throwable causedByFailure)abstract voidsendSystemMessage(SystemMessage message)abstract voidstart()abstract voidstop()abstract voidsuspend()protected java.lang.ObjectwriteReplace()-
Methods inherited from class org.apache.pekko.actor.ActorRef
$bang, $bang$default$2, compareTo, equals, forward, hashCode, noSender, tell, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.pekko.actor.MinimalActorRef
$bang, $bang$default$2, getChild, getParent, isTerminated, restart, resume, sendSystemMessage, start, stop, suspend
-
Methods inherited from interface org.apache.pekko.actor.ScalaActorRef
$bang, $bang$default$2
-
-
-
-
Field Detail
-
MODULE$
public static final Nobody$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
path
public RootActorPath 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
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException- Specified by:
writeReplacein interfaceMinimalActorRef- Throws:
java.io.ObjectStreamException
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArityin interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElementin interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqualin interfacescala.Equals
-
isTemporaryRef
public static boolean isTemporaryRef(ActorRef ref)
-
start
public abstract void start()
-
resume
public abstract void resume(java.lang.Throwable causedByFailure)
-
suspend
public abstract void suspend()
-
restart
public abstract void restart(java.lang.Throwable cause)
-
stop
public abstract void stop()
-
sendSystemMessage
public abstract void sendSystemMessage(SystemMessage message)
-
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<java.lang.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.
-
-