Interface ActorRefImpl<T>

All Superinterfaces:
ActorRef<T>, Comparable<ActorRef<?>>, RecipientRef<T>, Serializable

public interface ActorRefImpl<T> extends ActorRef<T>
Every ActorRef is also an ActorRefImpl, but these two methods shall be completely hidden from client code. There is an implicit converter available in the package object, enabling ref.toImpl (or ref.toImplN for ActorRef[Nothing]—Scala refuses to infer Nothing as a type parameter).
  • Method Details

    • compareTo

      int compareTo(ActorRef<?> other)
      Comparison takes path and the unique id of the actor cell into account.
      Specified by:
      compareTo in interface Comparable<T>
    • equals

      boolean equals(Object that)
      Equals takes path and the unique id of the actor cell into account.
      Overrides:
      equals in class Object
    • hashCode

      int hashCode()
      Overrides:
      hashCode in class Object
    • isLocal

      boolean isLocal()
    • narrow

      <U extends T> ActorRef<U> narrow()
      Description copied from interface: ActorRef
      Narrow the type of this ActorRef, which is always a safe operation.
      Specified by:
      narrow in interface ActorRef<T>
    • sendSystem

      void sendSystem(SystemMessage signal)
    • toString

      String toString()
      Overrides:
      toString in class Object
    • unsafeUpcast

      <U> ActorRef<U> unsafeUpcast()
      Description copied from interface: ActorRef
      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 ActorRef[U].
      Specified by:
      unsafeUpcast in interface ActorRef<T>