akka.spray

LazyActorRef

abstract class LazyActorRef extends UnregisteredActorRefBase

An ActorRef which - offers the ability to hook caller-side logic into a tell - is registered lazily

CAUTION: In order to prevent memory leaks you need to make sure that the ref is explicitly stopped via stop in _all_ cases, even if tell/bang is never called!

Linear Supertypes
UnregisteredActorRefBase, MinimalActorRef, LocalRef, ActorRefScope, InternalActorRef, ScalaActorRef, ActorRef, Serializable, Serializable, Comparable[ActorRef], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LazyActorRef
  2. UnregisteredActorRefBase
  3. MinimalActorRef
  4. LocalRef
  5. ActorRefScope
  6. InternalActorRef
  7. ScalaActorRef
  8. ActorRef
  9. Serializable
  10. Serializable
  11. Comparable
  12. AnyRef
  13. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LazyActorRef(actorRefFactory: ActorRefFactory)

  2. new LazyActorRef(related: ActorRef)

  3. new LazyActorRef(prov: ActorRefProvider)

Abstract Value Members

  1. abstract def handle(message: Any)(implicit sender: ActorRef): Unit

    Attributes
    protected
    Definition Classes
    UnregisteredActorRefBase

Concrete Value Members

  1. def !(message: Any)(implicit sender: ActorRef = Actor.noSender): Unit

    Definition Classes
    UnregisteredActorRefBase → MinimalActorRef → ScalaActorRef
  2. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  3. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  4. final def ##(): Int

    Definition Classes
    AnyRef → Any
  5. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def compareTo(other: ActorRef): Int

    Definition Classes
    ActorRef → Comparable
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. final def equals(that: Any): Boolean

    Definition Classes
    ActorRef → AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def forward(message: Any)(implicit context: ActorContext): Unit

    Definition Classes
    ActorRef
  14. def getChild(names: Iterator[String]): InternalActorRef

    Definition Classes
    MinimalActorRef → InternalActorRef
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def getParent: InternalActorRef

    Definition Classes
    LazyActorRefUnregisteredActorRefBase → MinimalActorRef → InternalActorRef
  17. final def hashCode(): Int

    Definition Classes
    ActorRef → AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final def isLocal: Boolean

    Definition Classes
    LocalRef → ActorRefScope
  20. def isTerminated: Boolean

    Definition Classes
    UnregisteredActorRefBase → MinimalActorRef → ActorRef
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def onStop(): Unit

    Attributes
    protected
    Definition Classes
    LazyActorRefUnregisteredActorRefBase
  25. final def path: ActorPath

    Contract of this method: Must always return the same ActorPath, which must have been registered if we haven't been stopped yet.

    Contract of this method: Must always return the same ActorPath, which must have been registered if we haven't been stopped yet.

    Definition Classes
    UnregisteredActorRefBase → ActorRef
    Annotations
    @tailrec()
  26. val provider: ActorRefProvider

    Definition Classes
    UnregisteredActorRefBase → InternalActorRef
  27. def register(path: ActorPath): Unit

    Attributes
    protected
    Definition Classes
    LazyActorRefUnregisteredActorRefBase
  28. def restart(cause: Throwable): Unit

    Definition Classes
    MinimalActorRef → InternalActorRef
  29. def resume(causedByFailure: Throwable): Unit

    Definition Classes
    MinimalActorRef → InternalActorRef
  30. def sendSystemMessage(message: SystemMessage): Unit

    Definition Classes
    LazyActorRefUnregisteredActorRefBase → MinimalActorRef → InternalActorRef
  31. def start(): Unit

    Definition Classes
    MinimalActorRef → InternalActorRef
  32. final def stop(): Unit

    Definition Classes
    UnregisteredActorRefBase → MinimalActorRef → InternalActorRef
    Annotations
    @tailrec()
  33. def suspend(): Unit

    Definition Classes
    MinimalActorRef → InternalActorRef
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. final def tell(msg: Any, sender: ActorRef): Unit

    Definition Classes
    ActorRef
  36. def toString(): String

    Definition Classes
    ActorRef → AnyRef → Any
  37. def unregister(path: ActorPath): Unit

    Attributes
    protected
    Definition Classes
    LazyActorRefUnregisteredActorRefBase
  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def writeReplace(): AnyRef

    Attributes
    protected
    Definition Classes
    MinimalActorRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. final def tell(msg: Any): Unit

    Definition Classes
    ActorRef
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1) use the two-arg variant (typically getSelf() as second arg)

Inherited from UnregisteredActorRefBase

Inherited from MinimalActorRef

Inherited from LocalRef

Inherited from ActorRefScope

Inherited from InternalActorRef

Inherited from ScalaActorRef

Inherited from ActorRef

Inherited from Serializable

Inherited from Serializable

Inherited from Comparable[ActorRef]

Inherited from AnyRef

Inherited from Any

Ungrouped