Class FunctionRef<T>

    • Constructor Detail

      • FunctionRef

        public FunctionRef​(ActorPath path,
                           scala.Function2<T,​FunctionRef<T>,​scala.runtime.BoxedUnit> send)
    • Method Detail

      • 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.
      • 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>
      • tell

        public void tell​(T message)
        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>