Class ActorRefAdapter<T>

    • Constructor Detail

    • Method Detail

      • narrow

        public static final <U extends T> ActorRef<U> narrow()
      • unsafeUpcast

        public static final <U> ActorRef<U> unsafeUpcast()
      • compareTo

        public static final int compareTo​(ActorRef<?> other)
      • hashCode

        public static final int hashCode()
      • equals

        public static final boolean equals​(java.lang.Object that)
      • toString

        public static java.lang.String toString()
      • path

        public ActorPath path()
        Description copied from interface: ActorRef
        The hierarchical path name of the referenced Actor. The lifecycle of the ActorRef is fully contained within the lifecycle of the ActorPath and more than one Actor instance can exist with the same path at different points in time, but not concurrently.
        Specified by:
        path in interface ActorRef<T>
        Returns:
        (undocumented)
      • tell

        public void tell​(T msg)
        Description copied from interface: ActorRef
        Send a message to the Actor referenced by this ActorRef using *at-most-once* messaging semantics.
        Specified by:
        tell in interface ActorRef<T>
        Specified by:
        tell in interface RecipientRef<T>
        Parameters:
        msg - (undocumented)
      • isTerminated

        public boolean isTerminated()
        Specified by:
        isTerminated in interface InternalRecipientRef<T>
        Returns:
        true if the actor is locally known to be terminated, false if alive or uncertain.