Package akka.actor

Class EmptyLocalActorRef

    • Method Detail

      • $bang

        public void $bang​(java.lang.Object message,
                          ActorRef sender)
        Description copied from interface: ScalaActorRef
        Sends a one-way asynchronous message. E.g. fire-and-forget semantics.

        If invoked from within an actor then the actor reference is implicitly passed on as the implicit 'sender' argument.

        This actor 'sender' reference is then available in the receiving actor in the 'sender()' member variable, if invoked from within an Actor. If not then no sender is available.

           actor ! message
         

        Specified by:
        $bang in interface MinimalActorRef
        Specified by:
        $bang in interface ScalaActorRef
        Parameters:
        message - (undocumented)
        sender - (undocumented)
      • isTerminated

        public boolean isTerminated()
        Deprecated.
        Use context.watch(actor) and receive Terminated(actor). Since 2.2.
        Description copied from class: InternalActorRef
        INTERNAL API: Returns “true” if the actor is locally known to be terminated, “false” if alive or uncertain.
        Specified by:
        isTerminated in interface MinimalActorRef
        Specified by:
        isTerminated in class InternalActorRef
        Returns:
        (undocumented)
      • path

        public ActorPath 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
        Returns:
        (undocumented)
      • specialHandle

        protected boolean specialHandle​(java.lang.Object msg,
                                        ActorRef sender)