abstract class ActorRef[-T] extends Comparable[ActorRef[Nothing]]
An ActorRef is the identity or address of an Actor instance. It is valid only during the Actor’s lifetime and allows messages to be sent to that Actor instance. Sending a message to an Actor that has terminated before receiving the message will lead to that message being discarded; such messages are delivered to the akka.actor.DeadLetter channel of the akka.event.EventStream on a best effort basis (i.e. this delivery is not reliable).
- Self Type
- ActorRefImpl[T]
- Source
- ActorRef.scala
- Alphabetic
- By Inheritance
- ActorRef
- Comparable
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
Concrete Value Members
- 
      
      
      
        
      
    
      
        
        def
      
      
        !(msg: T): Unit
      
      
      Send a message to the Actor referenced by this ActorRef using *at-most-once* messaging semantics. 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      - Definition Classes
- AnyRef → Any
 
-  def +(other: String): String
-  def ->[B](y: B): (ActorRef[T], B)
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        compareTo(other: ActorRef[Nothing]): Int
      
      
      Comparison takes path and the unique id of the actor cell into account. Comparison takes path and the unique id of the actor cell into account. - Definition Classes
- ActorRef → Comparable
 
-  def ensuring(cond: (ActorRef[T]) ⇒ Boolean, msg: ⇒ Any): ActorRef[T]
-  def ensuring(cond: (ActorRef[T]) ⇒ Boolean): ActorRef[T]
-  def ensuring(cond: Boolean, msg: ⇒ Any): ActorRef[T]
-  def ensuring(cond: Boolean): ActorRef[T]
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        equals(that: Any): Boolean
      
      
      Equals takes path and the unique id of the actor cell into account. Equals takes path and the unique id of the actor cell into account. - Definition Classes
- ActorRef → AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
 
-  def formatted(fmtstr: String): String
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        hashCode(): Int
      
      
      - Definition Classes
- ActorRef → AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        val
      
      
        path: ActorPath
      
      
      The hierarchical path name of the referenced Actor. The hierarchical path name of the referenced Actor. The lifecycle of the ActorRef is fully contained within the lifecycle of the akka.actor.ActorPath and more than one Actor instance can exist with the same path at different points in time, but not concurrently. 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        toString(): String
      
      
      - Definition Classes
- ActorRef → AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        upcast[U >: T]: ActorRef[U]
      
      
      Unsafe utility method for widening the type accepted by this ActorRef; provided to avoid having to use asInstanceOfon the full reference type, which would unfortunately also work on non-ActorRefs.
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
-  def →[B](y: B): (ActorRef[T], B)