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

public class Nobody$ extends ActorRef implements MinimalActorRef, scala.Product, Serializable
This is an internal look-up failure token, not useful for anything else.
See Also:
  • Field Details

    • MODULE$

      public static final Nobody$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • Nobody$

      public Nobody$()
  • Method Details

    • path

      public RootActorPath path()
      Description copied from class: ActorRef
      Returns the path for this actor (from this actor up to the root actor).
      Specified by:
      path in class ActorRef
    • provider

      public scala.runtime.Nothing$ provider()
    • writeReplace

      protected Object writeReplace() throws ObjectStreamException
      Specified by:
      writeReplace in interface MinimalActorRef
      Throws:
      ObjectStreamException
    • productPrefix

      public String productPrefix()
      Specified by:
      productPrefix in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • productElement

      public Object productElement(int x$1)
      Specified by:
      productElement in interface scala.Product
    • productIterator

      public scala.collection.Iterator<Object> productIterator()
      Specified by:
      productIterator in interface scala.Product
    • canEqual

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • isTemporaryRef

      public static boolean isTemporaryRef(ActorRef ref)
    • start

      public abstract void start()
    • resume

      public abstract void resume(Throwable causedByFailure)
    • suspend

      public abstract void suspend()
    • restart

      public abstract void restart(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<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.