Package akka.actor

Class InternalActorRef

    • Constructor Detail

      • InternalActorRef

        public InternalActorRef()
    • Method Detail

      • getChild

        public abstract 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.
      • getParent

        public abstract InternalActorRef getParent()
        Obtain parent of this ref; used by getChild for ".." paths.
      • 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.
      • isTerminated

        public abstract boolean isTerminated()
        INTERNAL API: Returns &ldquo;true&rdquo; if the actor is locally known to be terminated, &ldquo;false&rdquo; if alive or uncertain.
        Specified by:
        isTerminated in class ActorRef
      • provider

        public abstract ActorRefProvider provider()
        Get a reference to the actor ref provider which created this ref.
      • restart

        public abstract void restart​(java.lang.Throwable cause)
      • resume

        public abstract void resume​(java.lang.Throwable causedByFailure)
      • sendSystemMessage

        public abstract void sendSystemMessage​(SystemMessage message)
      • start

        public abstract void start()
      • stop

        public abstract void stop()
      • suspend

        public abstract void suspend()