Interface ActorRef<T>

    • Method Detail

      • tell

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

        <U extends TActorRef<U> narrow()
        Narrow the type of this ActorRef, which is always a safe operation.
      • unsafeUpcast

        <U> ActorRef<U> unsafeUpcast()
        Unsafe utility method for widening the type accepted by this ActorRef; provided to avoid having to use asInstanceOf on the full reference type, which would unfortunately also work on non-ActorRefs. Use it with caution,it may cause a ClassCastException when you send a message to the widened {@link ActorRef[U}].
      • path

        ActorPath path()
        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.
      • writeReplace

        java.lang.Object writeReplace()