Class/Object

akka.spray

UnregisteredActorRef

Related Docs: object UnregisteredActorRef | package spray

Permalink

abstract class UnregisteredActorRef extends UnregisteredActorRefBase

An ActorRef which - offers the ability to hook caller-side logic into the reply message path - is never registered anywhere, i.e. can be GCed as soon the receiver drops it or is GCed itself

CAUTION: This ActorRef is _not_ addressable from a non-local JVM and it also breaks some otherwise valid invariants like system.actorFor(ref.path.toString).equals(ref) in the local-only context. It should therefore be used only in purely local environments and in consideration of the limitations. You can, however, manually wrap it with a registered ActorRef using one of the register... calls.

Self Type
UnregisteredActorRef
Linear Supertypes
UnregisteredActorRefBase, MinimalActorRef, LocalRef, ActorRefScope, InternalActorRef, ScalaActorRef, ActorRef, Serializable, Serializable, Comparable[ActorRef], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UnregisteredActorRef
  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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UnregisteredActorRef(actorRefFactory: ActorRefFactory)

    Permalink
  2. new UnregisteredActorRef(related: ActorRef)

    Permalink
  3. new UnregisteredActorRef(prov: ActorRefProvider)

    Permalink

Abstract Value Members

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

    Permalink
    Attributes
    protected
    Definition Classes
    UnregisteredActorRefBase

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getParent: InternalActorRef

    Permalink
    Definition Classes
    UnregisteredActorRefBase → MinimalActorRef → InternalActorRef
  15. final def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  17. final def isLocal: Boolean

    Permalink
    Definition Classes
    LocalRef → ActorRefScope
  18. def isTerminated: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def onStop(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    UnregisteredActorRefBase
  23. final def path: ActorPath

    Permalink

    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()
  24. val provider: ActorRefProvider

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

    Permalink
    Attributes
    protected
    Definition Classes
    UnregisteredActorRefBase
  26. def registerForMultiResponse(isLastResponse: (Any) ⇒ Boolean, timeout: Timeout)(implicit executor: ExecutionContext): ActorRef

    Permalink

    Produces a LazyActorRef that wraps this UnregisteredActorRef.

    Produces a LazyActorRef that wraps this UnregisteredActorRef. The resulting ActorRef is reachable from remote JVMs and can receive several replies. However, the last one must be identifiable and has to arrive within the given timeout period.

  27. def registerForSingleResponse(timeout: Timeout)(implicit executor: ExecutionContext): ActorRef

    Permalink

    Produces a LazyActorRef that wraps this UnregisteredActorRef.

    Produces a LazyActorRef that wraps this UnregisteredActorRef. The resulting ActorRef is reachable from remote JVMs, but can only receive a single reply, which has to arrive within the given timeout period.

  28. def restart(cause: Throwable): Unit

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ActorRef
  36. def toString(): String

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

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

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

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

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

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

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